Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for sessions to be shared between subdomains. #940

Open
Kugyan opened this issue May 12, 2023 · 1 comment
Open

Allow for sessions to be shared between subdomains. #940

Kugyan opened this issue May 12, 2023 · 1 comment

Comments

@Kugyan
Copy link

Kugyan commented May 12, 2023

I'd like to make a login system, like auth.example.com then the dashboard at dashboard.example.com, but I can't because sessions won't be shared between subdomains.

@joewagner
Copy link
Member

As long as the cookie value makes it the this middleware, you should be able to accomplish what you're hoping. If you're having a problem, feel free to open a PR or elaborate on where you are getting stuck.

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

No branches or pull requests

2 participants