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
- `type 'Null' is not a subtype of type 'b...
When creating a new file using Appwrite Flutter SDK, the file is successfully created on the server, but the client throws the following exception: ``` type ...
- login With OAuth Failed
login With OAuth Failed: when i cliick to login with any of the following (facebook, gmail or apple) am being redirected out of the app to enter my detail, afte...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...