gitgy
gitgy
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.
NOTE: I tried redirecting to my base url. like 'https://mydomain.com" and it still signs me 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