Skip to content

Commit 6030a5f

Browse files
committed
Fix panic
1 parent 9a600c0 commit 6030a5f

File tree

1 file changed

+1
-0
lines changed
  • coderd/coderdtest/oidctest

1 file changed

+1
-0
lines changed

coderd/coderdtest/oidctest/idp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func NewFakeIDP(t testing.TB, opts ...FakeIDPOpt) *FakeIDP {
161161
refreshIDTokenClaims: syncmap.New[string, jwt.MapClaims](),
162162
hookOnRefresh: func(_ string) error { return nil },
163163
hookUserInfo: func(email string) jwt.MapClaims { return jwt.MapClaims{} },
164+
hookValidRedirectURL: func(redirectURL string) error { return nil },
164165
}
165166

166167
for _, opt := range opts {

0 commit comments

Comments
 (0)