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
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...
- vorafy.studio domain already exists erro...
My domain vorafy.studio is stuck/locked from a previously deleted project. I created a new project but can't add the domain — getting 'already exists' error. Pl...
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...