Does anyone has a guide on how to implement this on a Expo project? I've been trying to implement it, used AI and etc but can't.
- Do I have to have a domain/website to redirect back to the app?
No
You need your app scheme to be appwrite-callback-<projectId>:// and pass it as success and fail param. It should redirect back
again, that's an invalid success param
I created a site template using the react template and for some reason I'm getting a 404 nginx error, even though the deployment was successful
so 2 problems happening
<@1276628406288519234> can't use an uri for redirecting back to the app and can't create a site to redirect (at least using appwrite)
also, can you link me the documentation on this?
You also need to add that domain as a platform in the overview section.
let me check
Select react native
Self hosted?
yes
I cannot help much more than this in self hosted. Cause I dont know anything about it.
If its on the code part I can
<@1276628406288519234> I added the appwrite-callback-<projectId> as a React Native platform, changed the scheme to appwrite-callback-<projectId> on the app.config.js too.
And on the redirectUri
const redirectUri = appwrite-callback-${config.projectId}://;
even have a console log after this to check if it's correct and still got the invalid success param
tried prebuilding again and nothing
maybe I have to wait for the platform to load?
In react native it does not need to wait. It just checks the scheme and allows anyway. Maybe it has something to do with your bare react native project.
In the console log Was the scheme updated?
it seems both platforms I have for Android React Native are not shown on the available success params
do I have to prebuild every time I change the scheme? and how can I check if the scheme was updated?
Do I have to do anything after creating it?
Nope
Yes And Go to browser and try writing the scheme It will show something like 'Open this app'. And if it does, the scheme works
the problem seems to be just the platform creation
Recommended threads
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- 500 simultaneous OAuth logins from the s...
Hi, I'd like to ask about rate limiting around Google OAuth login on Appwrite Cloud. **OVERVIEW** Service type: A PWA (web app) for members of a university clu...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...