I am developing a Javascript app + REST API.
I want users to authenticate using the application (and the basic REST API) through the OpenID Connect provider for single sign-on.
Using an implicit stream, I can get an ID token (JWT) identifying the user in my javascript application. I was hoping that then I could send this JWT to the Authorize header in requests to my REST API for user authentication. However, the problem with this approach is that the “aud” JWT field will not be for the REST API server, it will be for the javascript application.
Does this mean that the implicit stream is not suitable for my use case, or am I missing something?
source
share