From 4d7a091d2416cd763370d817571319761825da77 Mon Sep 17 00:00:00 2001 From: simeng-li Date: Wed, 6 Jul 2022 20:33:32 +0800 Subject: [PATCH] refactor(core): adjust access token ttl (#1430) adjust access token ttl --- packages/schemas/tables/resources.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/schemas/tables/resources.sql b/packages/schemas/tables/resources.sql index 04ed7985d..9c73a0cbf 100644 --- a/packages/schemas/tables/resources.sql +++ b/packages/schemas/tables/resources.sql @@ -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) );