Skip to content

Commit 44e548a

Browse files
committed
docs(user): the SDKs' login routes check the account at the callback, not with id_token_hint
1 parent 889b909 commit 44e548a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎docs/user/apps/step-up.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ apps are unaffected.
115115
agree on the requirement, and that your server's clock is synchronized
116116
([clock skew](troubleshooting.md#clock-skew)).
117117
- **The user came back as another account.** Signing in as another account ends
118-
the previous session. Send `id_token_hint`, and refuse a token whose `sub`
119-
changed; the SDKs' login routes already do.
118+
the previous session. Refuse a step-up whose token has a different `sub`: the
119+
SDKs' login routes check it at the callback. A flow of your own can also send
120+
`id_token_hint`, so auth asks for that account.
120121

121122
[RFC 9470]: https://www.rfc-editor.org/rfc/rfc9470

0 commit comments

Comments
 (0)