Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52cf266

Browse files
committed
test: add some default group/roles claims to testidp (#14591)
Allows testing group/role sync with the fake
1 parentb7c1ba4 commit52cf266

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎scripts/testidp/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ func RunIDP() func(t *testing.T) {
9191
"email":"oidc_member@coder.com",
9292
"preferred_username":"oidc_member",
9393
"email_verified":true,
94+
"groups": []string{"testidp","qa","engineering"},
95+
"roles": []string{"testidp","admin","higher_power"},
9496
}),
9597
oidctest.WithDefaultIDClaims(jwt.MapClaims{}),
9698
oidctest.WithDefaultExpire(*expiry),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp