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

Figure out compatibility with NextAuth cookies supporting subdomains #5

Open
Tracked by #1
nathanclevenger opened this issue Sep 21, 2022 · 4 comments
Open
Tracked by #1

Comments

@nathanclevenger
Copy link
Member

No description provided.

@sam-lippert
Copy link
Contributor

The iss and domain properties are now set. Is this all that was needed?

@nathanclevenger
Copy link
Member Author

nathanclevenger commented Sep 23, 2022 via email

@sam-lippert
Copy link
Contributor

I can confirm that there is no redirect happening for login when I switch subdomains, but there is a valid user:
image

@nathanclevenger
Copy link
Member Author

nathanclevenger commented Sep 25, 2022

Ok, the next step will be to validate cookies that are encrypted by NextAuth, because it doesn't use oauth.do for the cookie creation/encryption ... @crisner1978 now has a next-auth implementation that I believe is saving cookies to support subdomains at https://dev.driv.ly ... so @sam-lippert can you create a worker route in Cloudflare like test-auth.dev.driv.ly that could be then routed to the ctx-do worker to see if we can validate that?

@nathanclevenger nathanclevenger mentioned this issue Nov 23, 2022
18 tasks
@sam-lippert sam-lippert removed their assignment Nov 4, 2023
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