Session Token (OAuth 2.0)
The session token is generated by the Factors API when users authenticate or sign up and contains the account ID (sub
claim), score for the user (scr
claim) as well as which factors the user has successfully passed (fct
claim). The session token can and must be used as an authorization token by the login UI in order to advance the session. To do so the session token must be presented as a bearer token in the Authorization
header (so Bearer JWT
).
Key properties you can configure for the session token are:
session lifetime (
exp
)
An example session token:
The session token should be kept securely by the login UI (or other UI) and never leave its environment. For example it should not be exposed in redirects.
Last updated