Rank 3: Container
Please Check why I'm Getting this error while logging in.
Votes
0
Replies
17
Participants
Unknown
Messages
18
Rank 3: Container
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.
Rank 3: Container
It works if I specify explicitly the Subdomain. But wildcard is not working?
Rank 3: Container
Because I have other subdomains which needs access too
Rank 3: Container
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.
Rank 3: Container
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 😅
Rank 3: Container
This is my Google Oath2 Configs
Rank 3: Container
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?
Rank 3: Container
Rank 3: Container
This one?
Rank 3: Container
Any idea whats the problem?
Rank 3: Container
Anybody there?
Admin
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
Rank 3: Container
No the thing is. It was working Yesterday
Admin
i don't see how