Skip to content

Commit

Permalink
Fix missing OIDC scope (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-ruth authored and Pablo RUTH committed Apr 2, 2024
1 parent 991acdc commit 13ddbbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ signmykey
main
docs/public
bin/
.vscode/
1 change: 1 addition & 0 deletions builtin/authenticator/oidcropc/Authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (a *Authenticator) Login(ctx context.Context, payload []byte) (resultCtx co
v.Add("password", login.Password)
v.Add("client_id", a.OIDCClientID)
v.Add("client_secret", a.OIDCClientSecret)
v.Add("scope", "openid")

oidcPayload := strings.NewReader(v.Encode())

Expand Down

0 comments on commit 13ddbbe

Please sign in to comment.