mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-04-15 07:06:45 +00:00
Fix lint error and remove accidental direct dep on ory/x
Fixing some mistakes from previous commit on feature branch.
This commit is contained in:
@@ -1748,9 +1748,8 @@ func testSupervisorLogin(
|
||||
require.EqualError(t, err, wantAuthcodeExchangeError)
|
||||
// The authcode exchange has failed, so can't continue the login flow, making this the end of the test case.
|
||||
return
|
||||
} else {
|
||||
require.NoError(t, err)
|
||||
}
|
||||
require.NoError(t, err)
|
||||
expectedIDTokenClaims := []string{"iss", "exp", "sub", "aud", "auth_time", "iat", "jti", "nonce", "rat", "username"}
|
||||
if slices.Contains(downstreamScopes, "groups") {
|
||||
expectedIDTokenClaims = append(expectedIDTokenClaims, "groups")
|
||||
|
||||
Reference in New Issue
Block a user