gitgy
KKinde
•Created by Jack on 10/20/2024 in #💻┃support
Vercel Preview Kinde Authentication not working
{"error":"Error: State not found.\nTo resolve this error please visit our docs https://docs.kinde.com/developer-tools/sdks/backend/nextjs-sdk/#state-not-found-errorAuthentication flow: Received: 5987629af3801a73716141689f20 | Expected: State not found"}
I am having this problem.
After watching the video and reading the docs, I am still confused.
The docs state: "Confirm that the domain you start the auth flow from is different from the domain you are redirected to after the auth flow is complete. but in the video (@6:07), it seems like hes using the same domain? his site url is lumon.vercel.app and then redirect login is lumon.vercel.app/dashboard
3 replies
KKinde
•Created by gitgy on 10/15/2024 in #💻┃support
Stripe success_url from checkout session logs user out.
Yeah, it was deleted. It's odd but when I use an environment variable, it works.
const session = await stripeClient.checkout.sessions.create({
success_url: `${process.env.NEXT_PUBLIC_BASE_URL}
4 replies
KKinde
•Created by gitgy on 10/15/2024 in #💻┃support
Stripe success_url from checkout session logs user out.
4 replies
KKinde
•Created by Yvens on 2/20/2024 in #💻┃support
Testing protected pages in cypress (e2E)
Thanks Oli. I am cuurently using Next.js App Router SDK v2
17 replies
KKinde
•Created by Yvens on 2/20/2024 in #💻┃support
Testing protected pages in cypress (e2E)
However, I am only allowing for google login, not sure if that makes a difference.
17 replies
KKinde
•Created by Yvens on 2/20/2024 in #💻┃support
Testing protected pages in cypress (e2E)
For now, I'd like to mock a user login, navigate to a protected page/route and do a simple (h1 tag) render test. This support ticket was created 7 months ago so I have no clue what progress has been made. I just looked up e2e testing keyword and found this!
17 replies
KKinde
•Created by Yvens on 2/20/2024 in #💻┃support
Testing protected pages in cypress (e2E)
Hello, so as of the moment still, e2e testing for protected pages based off of auth only works for email login?
17 replies