Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Apps
-
HD-Enabler:WStore
Description
Hi,
We're trying to access the WStore api we have installed under our fiware
account of julia@ptchwrks.com <julia@ptchwrks.com> via oauth2 and
we're experimenting some trouble in the process.
We're able to authorize the app but we never get the access token back.
We're following this example:
https://github.com/cchristodoulopoulos/fiware-oauth2-client-example-php
We've also tried others in the php libraries in http://oauth.net/2/
Following the indications of:
https://github.com/ging/fi-ware-idm/blob/master/doc/oauth2.md
But we never receive the access token back.
Do you know where the problem might be?
Thanks,
Mónica
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help-new
[Created via e-mail received from: Monica Rikic <monica@ptchwrks.com>]
Activity
- All
- Comments
- History
- Activity
- Transitions
Hi Mónica,
What version of WStore are you using? Some time ago, the idm KeyRock changed its APIs and the mechanism to obtain the access token, so old versions of WStore have problems with the new idm. In this respect, I recomend you to wait until the 25th (Friday next week), since we are releasing a new version of WStore
Regarding the libraries in http://oauth.net/2/ most of the existing libraries use by default the POST + body mechanism to retrieve the access token, while KeyRock uses POST + Authorization Basic header mechanism, so you will need to configure the library to work this way
I have included my colleague Alvaro to the loop, who is in charge of KeyRock and can help you with the libraries.
Best Regards,
Francisco