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
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, Iโm using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...