
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
- Realtime Disconnects and Error: INVALID_...
Hi Support, we are still experiencing the issue and we are a subscriber on your platform under the account of charlesbcalague@gmail.com I just want to ask here...
- SSO google apple not working anymore
We use Apple and Google sso in our react native app. Everything worked fine until we noticed today that we see general argument error. We did not change anythi...
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
