Hi, i'm trying to do oauth with nextjs ssr: https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-7#oauth-server-action
i'm using github codespaces for development, when the oauth is completed, i'm getting redirected to localhost:3000 instead of the github codespace url of my app
I tried hardcoding the success url, but I get the above error. Any help is much appreciated.
TL;DR
Developers are trying to implement OAuth with Next.js SSR but are redirected to localhost:3000 instead of the correct URL. Hardcoding the success URL results in an error stating the host must be one of: localhost, cloud.appwrite.io, appwrite.io.