mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-02 04:16:38 -05:00
test: fix oidc.test.ts
This commit is contained in:
@@ -72,23 +72,22 @@ describe("oidc init", () => {
|
||||
});
|
||||
const options = provider.options;
|
||||
expect(options).toMatchInlineSnapshot(`
|
||||
{
|
||||
"accessTokenExpiresIn": 3600,
|
||||
"allowDynamicClientRegistration": true,
|
||||
"allowPlainCodeChallengeMethod": true,
|
||||
"codeExpiresIn": 600,
|
||||
"defaultScope": "openid",
|
||||
"loginPage": "/login",
|
||||
"refreshTokenExpiresIn": 604800,
|
||||
"scopes": [
|
||||
"openid",
|
||||
"profile",
|
||||
"email",
|
||||
"offline_access",
|
||||
],
|
||||
"storeClientSecret": "plain",
|
||||
}
|
||||
`);
|
||||
{
|
||||
"accessTokenExpiresIn": 3600,
|
||||
"allowPlainCodeChallengeMethod": true,
|
||||
"codeExpiresIn": 600,
|
||||
"defaultScope": "openid",
|
||||
"loginPage": "/login",
|
||||
"refreshTokenExpiresIn": 604800,
|
||||
"scopes": [
|
||||
"openid",
|
||||
"profile",
|
||||
"email",
|
||||
"offline_access",
|
||||
],
|
||||
"storeClientSecret": "plain",
|
||||
}
|
||||
`);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user