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
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...