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
No, you cannot map this.
This is actually the last small bug on my TODO list before I will release v0.21 (most probably tomorrow).
The sub in the access_token should actually map to the users ID, while the email should only be present in the ID token when email is in the scope.
The email in the access tokens sub is a leftover from an older version. Now everything is based on the 100% stable user ID, while the email might change over time for a user.
edit:
Actually, in the current nightly version are already some fixes and improvements included for the /userinfo.
After #259 I'm one step further to authenticate to Forgejo using rauthy.
Now I'm struggling with that error (Forgejo log):
Is there a way to remap the
sub
field in the JWT to the E-Mail address of the user?The text was updated successfully, but these errors were encountered: