Rose,
Thank you for your message. There must be something different about your login page compared to your admin page in WordPress.
You need to make sure both base URLs are covered in the Javascript Origin box in Google Cloud Console.
It could be as simple as one is using https and the other is http.
E.g. https://mysite.com/wp-login.php
and https://mysite.com/wp-admin/
(Assuming you have entered only https://mysite.com in Google Cloud Console’s Javascript Origin box)
Or you could have a situation where your site is accessible at both
https://mysite.com and https://www.mysite.com
(In which case, you could either put all 4 versions in the Google Cloud Console box – including https and http variations, or even better try to get your site to have only one canonical URL – i.e. always get https://mysite.com to redirect straight to https://www.mysite.com.)
Please could you send me an email copy-and-pasting the following:
The URL in your browser bar when you’re on the login page
The URL in your browser bar when you’re on the admin create post page
And the settings in your Javascript Origin and Redirect URI boxes in Google Cloud Console project.
Email is [email protected]
And let me know if any of the above doesn’t make sense.
Thanks,
Dan