Please Check why I'm Getting this error while logging in.
π
When running createOAuth2Session
, you provided success and failure URL. Those URLs needs to be trusted by Appwrite. To do that, open Appwrite Console (web UI), and add a web platform to your project (in overviews tab).
There name is up to you, but hostname MUST be hostname that you use in those success/failure URL.
Once added, the error shoudl be gone.
It works if I specify explicitly the Subdomain. But wildcard is not working?
Because I have other subdomains which needs access too
When I use While card, Other subdomains work correctly but this Google Oauth showing that error
can you please share specific scenario of domains which doesnt work? feel free to use example.com
as a base.
Okay. I got a test.example.com for the Main Website & boss.example.com for The Admin to control. When I use *.example.com, the test website works but when I use use boss.example.com, the Boss website works.
i think you made a typo. please check π
This is my Google Oath2 Configs
App.example.com is appwrite backend and Boss.example.com is the website Admin will access from
Okay what's the platform settings in Appwrite?
This one?
Any idea whats the problem?
Anybody there?
looks like the oauth validation doesn't accept wildcard. it might be good to open an issue. for now, i suggest creating exact matching platforms instead of using wildcard
No the thing is. It was working Yesterday
i don't see how
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...