I have double checked the android manifest code.. made the oauth url for both google and discord but i seem to be stuck
my appwrite backend is self hosted on a vps
<activity android:exported="true" android:name="com.linusu.flutter_web_auth_2.CallbackActivity" >
<intent-filter android:label="flutter_web_auth_2">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="appwrite-callback-animenetic" />
</intent-filter>
</activity>```
inside application tag
Maybe something is wrong with your endpoint?
i mean its the same for production related stuff
shuldnt be an issue
does oauth need any port open?
iirc i have docker containers like 7443:443
cuz there is nginx proxy manager too but the backend endpoint is proxied
and works normally with database and storage connections etc
Appwrite must be accessed on the standard ports
Can you log the endpoint in the account client before making the API call?
but like i still have to set endpoint for client?
set project etc
Yes...
i want to apologize 💀
i had a typo in endpoint
sorry-
No worries. Glad you were able to figure it out
thanks!
[SOLVED] Trying Appwrite OAuth but Getting Error
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...