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
So, to have this work, we depend on the IdP to have the means to identify the user's request, for example by using cookies.
An alternative way, according to the oidc core 1.0 specs, is to provide an id_token_hint, which is some old token the client might have:
id_token_hint
OPTIONAL. ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. If the End-User identified by the ID Token is logged in or is logged in by the request, then the Authorization Server returns a positive response; otherwise, it SHOULD return an error, such as login_required. When possible, an id_token_hint SHOULD be present when prompt=none is used and an invalid_request error MAY be returned if it is not; however, the server SHOULD respond successfully when possible, even if it is not present. The Authorization Server need not be listed as an audience of the ID Token when it is used as an id_token_hint value.
The text was updated successfully, but these errors were encountered:
Thx. The next version (will land in a few days) will contain a config flag useIdTokenHintForSilentRefresh. It is set to false by default to prevent breaking changes.
When I use the sample app, point it at my OIDC provider, and select "Test Silent Refresh", I see the following request in Network tab of dev tools:
So, to have this work, we depend on the IdP to have the means to identify the user's request, for example by using cookies.
An alternative way, according to the oidc core 1.0 specs, is to provide an
id_token_hint
, which is some old token the client might have:The text was updated successfully, but these errors were encountered: