I am using google auth for my web app hosted on multiple domains. Can I use the same client ID I obtain from google for each domain.
They are listed as authorized redirect URIs in the consle.
For example, I have one for localhost, mydomain, my-test-domain, etc.
https://localhost:3000/auth/google/callback
https://mydomain/auth/google/callback
https://my-test-domain/auth/google/callback
Yes, you can specify multiple URIs. The URIs can contain different domain names.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With