Skip to content

Commit 13ddbbe

Browse files
pablo-ruthPablo RUTH
authored andcommitted
Fix missing OIDC scope (#212)
1 parent 991acdc commit 13ddbbe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ signmykey
22
main
33
docs/public
44
bin/
5+
.vscode/

builtin/authenticator/oidcropc/Authenticator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func (a *Authenticator) Login(ctx context.Context, payload []byte) (resultCtx co
8383
v.Add("password", login.Password)
8484
v.Add("client_id", a.OIDCClientID)
8585
v.Add("client_secret", a.OIDCClientSecret)
86+
v.Add("scope", "openid")
8687

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

0 commit comments

Comments
 (0)