Skip to content

Commit

Permalink
chore: disable token expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
NoorFatima01 committed May 5, 2024
1 parent 8ac6356 commit c636489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supabase/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ site_url = env(SITE_URL)
# A list of exact URLs that auth providers are permitted to redirect to post authentication.
additional_redirect_urls = [env(SITE_URL)]
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 (1 week).
jwt_expiry = 604800
jwt_expiry = disabled
# If disabled, the refresh token will never expire.
enable_refresh_token_rotation = false
enable_refresh_token_rotation = true
# Allows refresh tokens to be reused after expiry, up to the specified interval in seconds.
# Requires enable_refresh_token_rotation = true.
refresh_token_reuse_interval = 10
Expand Down

0 comments on commit c636489

Please sign in to comment.