next-saas-stripe-starter icon indicating copy to clipboard operation
next-saas-stripe-starter copied to clipboard

How to authenticate user via magic link post stripe checkout?

Open iamhenry opened this issue 1 year ago • 0 comments

I have been struggling to get authentication to work properly and I'm seeking help

Flow: user selects a plan -> checkouts via stripe -> send magic link for authentication to protected pages (dashboard) -> signed in to dashboard page

I can see the generated token in the database image

but when i click the generated link in my email it doesnt log me in. here are the logs: image

any help would be truly appreciated

iamhenry avatar Oct 28 '24 19:10 iamhenry