mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
test: add some default group/roles claims to testidp (#14591)
Allows testing group/role sync with the fake
This commit is contained in:
@@ -91,6 +91,8 @@ func RunIDP() func(t *testing.T) {
|
||||
"email": "oidc_member@coder.com",
|
||||
"preferred_username": "oidc_member",
|
||||
"email_verified": true,
|
||||
"groups": []string{"testidp", "qa", "engineering"},
|
||||
"roles": []string{"testidp", "admin", "higher_power"},
|
||||
}),
|
||||
oidctest.WithDefaultIDClaims(jwt.MapClaims{}),
|
||||
oidctest.WithDefaultExpire(*expiry),
|
||||
|
Reference in New Issue
Block a user