Skip to content
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

Record original authentication type in the JWT authentication type #1483

Open
robotdan opened this issue Nov 9, 2021 · 0 comments
Open

Record original authentication type in the JWT authentication type #1483

robotdan opened this issue Nov 9, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@robotdan
Copy link
Member

robotdan commented Nov 9, 2021

Record original authentication type in the JWT authentication type

Description

I want to identify the original authentication method in a JWT produced by using a Refresh token.

Workflow 1

  1. Login via Pasword
  2. JWT produced will contain PASSWORD as the authentication type
  3. Produce a JWT using the Refresh Token from step 1.
  4. The JWT should identify REFRESH_TOKEN as the authentication type and the original method as well.

Workflow 2

A JWT produced by completing 2FA for standalone or through login, needs to also keep track of the origin. In this case, we also want to understand which MFA method was used to get this JWT.

This could be the phone number, email or unique Id of the Two Factor Method.

Related

When using OAuth, we do add gty to the JWT header, but this would likely be a user claim.

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants