Skip to content

Commit

Permalink
fix: reinstate lib.constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lee committed Jul 29, 2021
1 parent 2b46d3a commit edb9bb4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion gotrue/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ dist/
downloads/
eggs/
.eggs/
/lib/
lib64/
parts/
sdist/
Expand Down
12 changes: 12 additions & 0 deletions gotrue/lib/constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
GOTRUE_URL = 'http://localhost:9999'
AUDIENCE = ''
DEFAULT_HEADERS = {}
EXPIRY_MARGIN = 60 * 1000
STORAGE_KEY = 'supabase.auth.token'
COOKIE_OPTIONS = {
"name": 'sb:token',
"lifetime": 60 * 60 * 8,
"domain": '',
"path": '/',
"sameSite": 'lax',
}

0 comments on commit edb9bb4

Please sign in to comment.