
I'm using AppWrite's own host to build an O-Auth for an iOS app, and on the client side I'm doing something like this:
"“ let successURL = "myappbundle ://auth-callback"
let redirectURL = try await account.createOAuth2Token(
provider: .notion,
success: successURL,
scopes: []
)
"
Which is how I assume AppWrite will setup the final redirect to my app. However upon runtime, trying to execute that piece of code results in a html response that contains the following message:
"Invalid success
param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io"
If I use "cloud.appwrite.io" as the success redirect URL for example, I'm able to get the function to execute, and I can see on the dashboard that the user got created, but safari will never redirect back to my app. What I'm I missing here? Is there somewhere on the dashboard where I can add the deep link of the success redirect to the "accepted hosts"?
Recommended threads
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
