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
- Cant get realtime working
Hey I nned some help with realtime a gain. I was using client.subscribe(...), and i found out that its depricated then i believe realtime.subscribe(...) is the ...
- Firebase app import
I'm **very** new to appwrite and I just set up appwrite with docker and I'm trying to import a Firebase app I have set up but it's erroring and I don't really k...
- Console infinite loading behind NginxPro...
Hi All, I am trying to get AppWrite to work behind NPM. I've followed the Medium guide to set proper headers, I've added my proxy configuration to NPM, and I ...