You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
I’m working on a react web app that needs to add identification with an openidconnect platform.
So we want to use your library but we encounter a problem in the implemetation of the Authorization Code flow.
In our case the token endpoint is protected and only a client (react web app) that is authenticated can retrieve a token.
So we need to have basic authentication header (client_id + client_secret) set when we want to retrieve information from the token end point.
Did we forget anything ? Is this a bug as headers are never set with Basic Auth?
Or is this a normal behavior because oidc-client.js is not supposed to work that way ?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello,
I’m working on a react web app that needs to add identification with an openidconnect platform.
So we want to use your library but we encounter a problem in the implemetation of the Authorization Code flow.
In our case the token endpoint is protected and only a client (react web app) that is authenticated can retrieve a token.
So we need to have basic authentication header (client_id + client_secret) set when we want to retrieve information from the token end point.
But the lib doesn’t seem to go that way, although it is specified in the openid doc:
https://openid.net/specs/openid-connect-core-1_0.html#TokenRequest
(see example)
Here’s our usermanager config:
Did we forget anything ? Is this a bug as headers are never set with Basic Auth?
Or is this a normal behavior because oidc-client.js is not supposed to work that way ?
Thanks in advance
The text was updated successfully, but these errors were encountered: