mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 10:52:49 +02:00
store raw id token so it can be passed to the logout url (#1543)
This commit is contained in:
parent
6c4dfcfa88
commit
a85b3b04c1
11 changed files with 112 additions and 53 deletions
|
@ -69,3 +69,11 @@ func (x *Session) AddClaims(claims identity.FlattenedClaims) {
|
|||
x.Claims[k] = svs
|
||||
}
|
||||
}
|
||||
|
||||
// SetRawIDToken sets the raw id token.
|
||||
func (x *Session) SetRawIDToken(rawIDToken string) {
|
||||
if x.IdToken == nil {
|
||||
x.IdToken = new(IDToken)
|
||||
}
|
||||
x.IdToken.Raw = rawIDToken
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue