mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Forcefully set grant lifetime
This commit is contained in:
parent
513f4cc15d
commit
1b84d27430
@ -319,7 +319,7 @@ export async function createOidcProvider(options: { id: string, baseUrl: string
|
||||
});
|
||||
grant.addOIDCScope('openid profile');
|
||||
|
||||
const grantId = await grant.save();
|
||||
const grantId = await grant.save(60 * 60 * 24);
|
||||
|
||||
const result = {
|
||||
login: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user