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: https://account.lab.fiware.org/oauth2/authorize/?response_type=code&client_id=123&redirect_uri=myapp://oauth/callback 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 any 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20151123/31599c9c/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot 2015-11-23 16.02.17.png Type: image/png Size: 37152 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20151123/31599c9c/attachment.png>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy