I am trying to setup Twitch OAuth on a Next.js app with Appwrite 1.6.2
This is my OAuth code
TypeScript
account.createOAuth2Session(
OAuthProvider.Twitch,
successUrl || "/auth/success",
failureUrl || "/auth/failure",
);
But when it routes, i am getting a 404 from appwrite
The URL it routes to is https://[redacted]/account/sessions/oauth2/twitch?success=%2Fauth%2Fsuccess&failure=%2Fauth%2Ffailure&project=[redacted]
TL;DR
Developers are experiencing issues with setting up Twitch OAuth on Appwrite 1.6.2. When routing, they receive a 404 error from Appwrite with the provided URL.
Solution: The issue seems to lie in the routing URL format. Make sure the routing path is correctly configured in the Appwrite console to match the route being redirected to.Recommended threads
- Invalid query: Query on attribute has gr...
I cannot view the table within the Console
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Failed to create function
Hey everyone 👋 I'm having an issue creating Functions on Appwrite Cloud and I'm not sure if it's a platform bug or something wrong in my project. When I try t...