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
-
I would like to use the
op.CreateTokenResponse
function to set thesid
to the generated id_token, is there a good way to do this?Currently, there is no publicly available function to set the
SessionID
ofIDTokenClaims
, so I can't think of a way other than usingSetUserInfo
below 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