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
I would like to use the op.CreateTokenResponse function to set the sid to the generated id_token, is there a good way to do this?
Currently, there is no publicly available function to set the SessionID of IDTokenClaims, so I can't think of a way other than using SetUserInfo below to set it via UserInfo's Claims.
Is there any other better way to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use the
op.CreateTokenResponsefunction to set thesidto the generated id_token, is there a good way to do this?Currently, there is no publicly available function to set the
SessionIDofIDTokenClaims, so I can't think of a way other than usingSetUserInfobelow to set it viaUserInfo'sClaims.Is there any other better way to do this?
oidc/pkg/oidc/token.go
Lines 157 to 167 in 6f0a630
Beta Was this translation helpful? Give feedback.
All reactions