
Error 400 Invalid success: URL host must be one of: localhost, appwrite.tripathig.in, authapp.tripathig.in
the success url is whitelisted still I am getting this error.
I am using appwrite cloud with custom domain

Did you add that hostname as a web platform in your project?

How do I add that ?

so you go to -> add platform -> choose your platform, it will ask the hostname

yes its added


tripathig or tripathing?

tripathig

I have also tried with wildcard *.tripathig.in

its not working

Can you try using the protocol like https://authapp.tripathig.in
in the success URL for OAauth?

The is resolved.

Solution : add both success and failure url or don't add any just the provider. It work's now

Thankyou @joeyouss , @safwan

Resolved - Facing error with OAuth Google Login

[Solved] - Facing error with OAuth Google Login

shoot, I thought you added them both when you sent ss 😅
Recommended threads
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- Is it possible to cancel an ongoing file...
When uploading a file to storage, is there a way to cancel the upload in progress so the file is not saved or partially stored?
