Skip to content

Commit

Permalink
chore(backend): increase access token expiration
Browse files Browse the repository at this point in the history
- increase user's access token timeout to 24 hours
  • Loading branch information
detj committed Nov 28, 2023
1 parent d022b1c commit 701000a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion self-host/supabase/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 701000a

Please sign in to comment.