Skip to content

feat: cookie_domain config to support subdomains#57

Draft
andrewjtait wants to merge 1 commit into
adamcooke:mainfrom
andrewjtait:support-cookie-domain
Draft

feat: cookie_domain config to support subdomains#57
andrewjtait wants to merge 1 commit into
adamcooke:mainfrom
andrewjtait:support-cookie-domain

Conversation

@andrewjtait

Copy link
Copy Markdown

By default, Authie sets cookies without an explicit domain, which scopes
them to the exact host that issued them. If you need a single session to
be valid across multiple subdomains (for example app.example.com and
admin.example.com) you can configure a cookie domain. Both the
user_session cookie and the browser_id cookie will then be set with
this domain.

Authie.config.cookie_domain = '.example.com'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant