Skip to content

Commit

Permalink
fix: return the whole jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyu committed Apr 8, 2024
1 parent 8796196 commit 378b74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/session/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (p *Provider) GetUserTokens(user string) ([]*SessionTokenInfo, error) {
}

info := &SessionTokenInfo{
Token: token[1],
Token: us.AccessToken,
Username: us.Username,
AuthLevel: us.AuthenticationLevel.String(),
FirstFactorTimestamp: us.FirstFactorAuthnTimestamp,
Expand Down

0 comments on commit 378b74e

Please sign in to comment.