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
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...
- Magic Link token automatically consumed
Hi, I'm using the Magic Link auth system with Appwrite Cloud and I'm running into huge issues getting users to log in successfully. About 9 times out of 10, th...
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...