0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-17 22:31:28 -05:00

refactor(core): adjust access token ttl (#1430)

adjust access token ttl
This commit is contained in:
simeng-li 2022-07-06 20:33:32 +08:00 committed by GitHub
parent 0240e5cac2
commit 4d7a091d24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ create table resources (
id varchar(21) not null,
name text not null,
indicator text not null unique, /* resource indicator also used as audience */
access_token_ttl bigint not null default(86400), /* expiration value in seconds, default is 24h */
access_token_ttl bigint not null default(3600), /* expiration value in seconds, default is 1h */
primary key (id)
);