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
- Deep Linking & Password reset
I am using react native with expo. I want to implement deep link with the url recived via email. So when clicked the link it opens my app. I havent ever used de...
- Current User is Not authorized
recreating same Thread
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...