Skip to content

Commit 722e36f

Browse files
committed
fixup! Fix issue with expirary json
1 parent 4b31e28 commit 722e36f

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

coderd/coderdtest/oidctest/idp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ func (f *FakeIDP) httpHandler(t testing.TB) http.Handler {
559559
"access_token": f.newToken(email),
560560
"refresh_token": refreshToken,
561561
"token_type": "Bearer",
562-
"expires_in": int64(time.Minute * 5),
562+
"expires_in": int64((time.Minute * 5).Seconds()),
563563
"id_token": f.encodeClaims(t, claims),
564564
}
565565
// Store the claims for the next refresh

0 commit comments

Comments
 (0)