From 701000ad66498640865a0ada503e198312120ab4 Mon Sep 17 00:00:00 2001 From: Debjeet Biswas Date: Tue, 28 Nov 2023 13:18:09 +0530 Subject: [PATCH] chore(backend): increase access token expiration - increase user's access token timeout to 24 hours --- self-host/supabase/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/self-host/supabase/config.toml b/self-host/supabase/config.toml index ae4b86b20..cf26f4ec2 100644 --- a/self-host/supabase/config.toml +++ b/self-host/supabase/config.toml @@ -71,7 +71,7 @@ site_url = "http://localhost:3000" # A list of *exact* URLs that auth providers are permitted to redirect to post authentication. additional_redirect_urls = ["https://localhost:3000"] # How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week). -jwt_expiry = 3600 +jwt_expiry = 86400 # If disabled, the refresh token will never expire. enable_refresh_token_rotation = true # Allows refresh tokens to be reused after expiry, up to the specified interval in seconds.