
I am facing issues while implementing Apple Sign-In in Appwrite. I followed the instructions outlined in this article https://dev.to/appwrite/apple-sign-in-with-appwrite-2576 and I have also configured web to capture the OAuth2 callback URL according to the documentation https://appwrite.io/docs/getting-started-for-flutter#web.
Expected Behavior: After successful login, I should be redirected back to the application without any issues, and the web view should close automatically.
Actual Behavior: After logging in, I am redirected to the HTML page that I initially set up for web configuration. The web view doesn't close, and the login process is not completed. If I click "cancel" an error appears - "PlatformException(CANCELED, User canceled login, null, null)".
Steps to Reproduce:
- Set up Apple Sign-In in Appwrite according to the article.
- Try to login via Apple.
- Redirected to the HTML page that I configured for web.

I've resolved the issue. The success parameter should be passed only when calling createOAuth2Session() in a web environment.
Recommended threads
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
