Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
HD-Chapter:Security
-
HD-Enabler:KeyRock
Description
Created question in FIWARE Q/A platform on 23-11-2015 at 16:11
Please, ANSWER this question AT https://stackoverflow.com/questions/33874292/fiware-keyrock-access-token-request-error-on-ios-client-implementation
Question:
FIWARE KeyRock access token request error on iOS client implementation
Description:
I'm trying to request a KeyRock access token via iOS OAuth2 implementation.
In iOS the callback url on OAuth is not a regular http:// url but is something like myapp://oauth/callback. The url for the authorization request is the following:
After calling the url, I can login on the Fiware account, authorized my app, but instead of being redirected to my callback address myapp://oauth/callback, I always get the following error:
Error: An error occurred when trying to obtain the authorization code.
I can't get my access token and I'm stuck on this page:
If I try to change the callback url, using a normal http:// address, everything works fine but on iOS that kind of url is unusable as callback in OAuth authentication.
What's wrong?
Activity
- All
- Comments
- History
- Activity
- Transitions
2017-05-22 15:06|CREATED monitor | # answers= 0, accepted answer= False