Hello.
I need some help on how to properly implement the oauth feature into my login view. I am getting a link to my api url, and I can login into discord, but when it asks me to open an "external app" (ios), it doesn't do anything.
This is my code for logging in:
TypeScript
const handleOAuth2Login = (provider: OAuthProvider) => {
try {
const data = account.createOAuth2Session(provider)
return Linking.openURL(`${data}`)
} catch (error) {
console.log(error)
}
}
TL;DR
Developers are having trouble implementing OAuth into their React Native login view. When prompting to open an "external app" (iOS), nothing happens. The code provided seems correct, but there might be an issue with the Linking module in React Native. Check Linking documentation and ensure proper configurations for handling external app opening are in place.Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...