TL;DR -- When creating a new Chrome Extension OAuth credential in GCP, you are only prompted for the extension ID from the Chrome store. Is it possible to find out what value is assigned (if any) to the redirect_url property of this new credential?
I am attempting to create a Chrome extension that can connect to Google APIs, to automate some productivity things. This is not an existing extension where something has gone wrong. I'm essentially following this doc, to wire this up for the first time.
I'm at a point where I'm trying to get a token to make API requests. After a bit of troubleshooting, I ended up at a place where I'm getting an error that tells me my redirect URL does not match.
The redirect URL I'm passing comes from the `getRedirectURL()` Chrome API call. I am assuming that is what the redirect will be because the GCP console UI to create the new Chrome Extension credential doesn't have a field to specify the redirect URL.
So, is there a default redirect URL assigned to new Chrome Extension credentials? Is there a way I can see what the redirect on this credential is?
I've tried to *not* send the param, but I get an error (expectedly).
I've also tried to send weird values like `localhost` or empty string and I get a security error (again, expectedly).
It's also possible I've missed something in this scaffolding that hasn't occurred to me yet.
Any insight into this would be much appreciated.
Thanks for reading.