I actually need to build a small mvp expo app. The only strict requirement is Azure AD login. In auth settings I enabled microsoft auth with necessary fields. Now when I try to add platform to the project, what do I put under Hostname?
expo is react native right? So it eventually converts to an iOS and android app?
In this case, you can add an android ( and/ or ) iOS platform and use the package name instead
Ahh I see. For firebase I had to setup web app instead of android and ios for react native. So i thought i had to do the same. I will try that.
Yea if you're making a request using an iOS or android device or emulator, you've to setup the corresponding platform. if you're making requests to Appwrite from a web app, you've to add the domain as a web platform
That’s not true bro. By Firebase you have to do the same and setup an Android and iOS app to get the proper auth files for the expo app
I literally have email password working with firebase auth in my expo app. For my flutter app I did have to make ios and android app, but for my expo, I did web.
Basic auth is another thing, but for social auth you need to create the proper platform type registration to get the authentication files (Infoplist and gs json) 🙂
yes you're right. When I said I have firebase working I meant basic email password auth. Okay I will try android and ios app and see where that takes me. I really wish we had some good RN tutorials for social auth using appwrite. Thanks
Recommended threads
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- Unauthorized Charge After Appwrite Pro F...
I was using Appwrite Pro credits worth $100, which were valid until November. During this period, I was exploring Appwrite's services. However, I recently notic...
- Cancelling Pro account and billing perio...
Is it possible to switch back to a free account and cancel a billing period. i switched to pro version for a day and realised i don't need it and i want to retu...