osipov / passport-ibmid-oauth2

14 stars 3 forks source link

Where is /userinfo endpoint? #5

Closed dglozic closed 8 years ago

dglozic commented 8 years ago

As part of authentication handshake, we receive a profile object, in addition to access and refresh tokens. In UAA and other OIDC providers, it is possible to make a request with 'Authorization: bearer <accessToken' HTTP header and receive an equivalent profile JSON as a response. How would I do that with idaas.ng.bluemix.net?

In addition, what would be the option to call other IDaaS providers in different data centers?

dglozic commented 8 years ago

Never mind, stupid question: https://idaas.ng.bluemix.net/idaas/resources/profile.jsp

Also, I realized I can override the URLs in 'options' object and pass different URLs, treating the ones you set as defaults. Closing.