Creating account before first login #11831
Unanswered
danieldelcore
asked this question in
Help
Replies: 0 comments
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.
-
I'm trying to setup a one time payment which grants access to the platform. It can potentially happen before the user logs into the platform.
The way I was thinking to implement this was to:
User
with an email + stripe detailsnext-auth
will create a newAccount
table and link it to the pre-existingUser
since it has not already used with any other oAuth provider.It's well documented that Account linking is not supported by this library for security reasons.
But is there some way to allow this securely, in the instance where there is no
Account
already associated with theUser
? Or are there better ways to achieve this?Beta Was this translation helpful? Give feedback.
All reactions