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
Do you have any recommendations on how to use JWT Auth with flagr. I was hoping that this could be handled with the Github OAuth. Is there any similar 3rd party vendors I could use?
The text was updated successfully, but these errors were encountered:
Basically, Flagr only validates the JWT token, and it's not responsible for crafting the JWT token. And you can configure JWTAuthNoTokenStatusCode and JWTAuthNoTokenRedirectURL so that the UI knows how to redirect to the page that can login the users.
Workflow Steps.
Open flagr UI website
No tokens found (it checks the cookie or auth header) => redirect to the login page
Login page will login the user, username/password, or any other social login via OAuth
If login sucessful, the login page should stored a JWT token as a cookie that the flagr UI can use. Typically this means a subdomain wildcard cookie. Make sure these subdomain can only be accessed from your internal network for extra security.
It should be correctly redirected back to flagr UI with the correct JWT token set. You're good to go now.
Notice that, flagr extracts user information from the user claim defined by JWTAuthUserClaim.
Do you have any recommendations on how to use JWT Auth with flagr. I was hoping that this could be handled with the Github OAuth. Is there any similar 3rd party vendors I could use?
The text was updated successfully, but these errors were encountered: