[Fiware-lab-help] OAuth2 implicit grant in KeyRock IdM

LOPEZ RAMOS Mario mario.lopezramos at thalesgroup.com
Tue May 12 18:25:12 CEST 2015


Our application ('FIC2Lab runner', that helps accelerators and SMEs deploy enablers) is developed in client-side JavaScript. We were using the method recommended by RFC6749 for client-side JavaScript applications (Implicit Grant) [1] with the previous KeyRock FIWARE Lab instance and it was working until last week. Now, without any notice, this method is apparently not working any more.

According to the announcement e-mail sent to FIWARE Lab users on May 7th, the new KeyRock currently support two grant types (Authorization Code Grant and Resource Owner Password Credentials Grant). Does this mean that the Implicit Grant was supported but it is no longer the case?


Technical details:

We are using this AngularJS library:
https://github.com/andreareginato/oauth-ng

Our application sends this POST:
https://account.lab.fiware.org/oauth2/authorize/?scope=public&state=&redirect_uri=http%3A%2F%2Frunner.developer.mediafi.org%2F&response_type=code&client_id=1d75df2ec0c1478db98a3c8db3169d63

It gives an "Error: An error occurred when trying to obtain the authorization code."

You can test yourself at http://runner.developer.mediafi.org

Thank you for your help.

[1] https://tools.ietf.org/html/rfc6749#section-1.3.2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150512/c5511c4b/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy