Creating Guest Sessions? #1237
Unanswered
dr-starchildren
asked this question in
Help
Replies: 1 comment 1 reply
-
@dr-starchildren any luck on this? I'm also using a service that supports anonymous auth and I'm looking to build something to support it! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking to implement a guest session. The purpose is to allow an anonymous user to begin using the site (e.g. playing games) and store their progress in a database. They'll be prompted to create an account, but until they do I want them to be able play and save their progress. Once they create an account, I want to transfer the guest session to a user entry.
Something like this in firebase:
https://firebase.google.com/docs/auth/web/anonymous-auth
Is this possible with next-auth? If so, how do you create the session without using the login page?
Beta Was this translation helpful? Give feedback.
All reactions