Skip to content

Commit

Permalink
Add refresh token to WebIdentity OpenID response (#2023)
Browse files Browse the repository at this point in the history
OpenID can return the refresh token along with the token ID and the
access token. Adding this latter to use it in refresh a user claims
  • Loading branch information
vadmeste authored Nov 25, 2024
1 parent 7fad06c commit a563333
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/credentials/sts_web_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ type WebIdentityResult struct {

// WebIdentityToken - web identity token with expiry.
type WebIdentityToken struct {
Token string
AccessToken string
Expiry int
Token string
AccessToken string
RefreshToken string
Expiry int
}

// A STSWebIdentity retrieves credentials from MinIO service, and keeps track if
Expand Down

0 comments on commit a563333

Please sign in to comment.