-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explain use cases of JWT token and resolver endpoint better #149
Comments
@chpapa @fungc-io Backend integration page, the following JWT validation in your application server pages have been updated according to the GitHub issue: https://docs.authgear.com/get-started/backend-api/backend-integration https://docs.authgear.com/get-started/backend-api/jwt#check-the-validity-of-jwt |
@louischan-oursky correct me if i'm wrong. The auth_time exists in ID token but not JWT token, the backend server cannot use the auth_time to "validate" the JWT. But rather it can be used to ensure the client has just authenticated recently, if the API call includes the ID Token in it. But this is not included in the JWT token. The developer don't need to include the ID token in every request, they can use the |
Product-design wise, feel more and more like we should make it really simple to add different claims to the JWT access token. Thoughts? |
Yeah, interesting problem. I wrote just based on knowledge Reauthentication process: https://docs.authgear.com/how-to-guide/authenticate/reauthentication I came across this use case from Auth0 using OIDC prompt=login param to force reauthentication. https://auth0.com/docs/authenticate/login/max-age-reauthentication |
Agree. Opened authgear/authgear-server#3296 |
Restructure https://docs.authgear.com/get-started/backend-api/backend-integration into explain there are different patterns for:
Btw Cookies + JWKS depends on authgear/authgear-server#1180)
Don't mention Resolver is recommended, as JWKS should be easier to implement for most users
Instead, show a few common architecture for integrations.
Mention:
auth_time
to check recency of session for reauthenticate (eg before users make transaction), links to reauthentication how toThe text was updated successfully, but these errors were encountered: