Future<void> signInApple() async {
await appwrite.account.createOAuth2Session(
provider: OAuthProvider.apple,
success: "https://cloud.appwrite.io/v1/auth/oauth2/success",
failure: "https://cloud.appwrite.io/v1/auth/oauth2/failure");
}```
Hey, this is my function code... I get an error re-direct URL does not exist I am using this on Flutter how can I... make it work, what should I put as a redirect URL
Did you get any pop up to open your app?
nope
https://appwrite.io/threads/1087716163234050180 I checked this
https://[DOMAIN]/v1/account/sessions/oauth2/callback/apple/[PROJECT ID] I am trying this as my
redirect url
I had a pop up which asked me my Face ID the it closed
What device are you testing this on?
iPhone 13
That was while authenticating, right? Not after
Yes while authenticating
Please remove the success and failure params from the function call
This is what I see after
Understood
Hey @Steven it worked thank you
[Cosed] Apple Sign In Flutter Redirect URL
[SOLVED] Apple Sign In Flutter Redirect URL
Recommended threads
- 403 The current user has been blocked.
Hello, I have a free plan; I've tried to access my project and I get the message "403 The current user has been blocked." I have database, sites, and auth in us...
- Am getting "The current user has been bl...
Was working on my app FLUTTER WEB APP, and suddenly, I have been blocked.... What can I do ? When I try to sign in to the console, I get "The current user has ...
- Guidance to safely upgrade Appwrite to l...
One of my old Flutter projects runs on a DO self-hosted Appwrite. Currently it's on appwrite: ^15.0.2 dart_appwrite: ^15.0.0 The app is live on the Play Stor...