Zeke(Jafesu)Original post
Rank 3: Container
I am trying to setup Twitch OAuth on a Next.js app with Appwrite 1.6.2
This is my OAuth code
JavaScript
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]
Summary
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.