Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Can't change client id in oauth to correct client id from extension

170 views
Skip to first unread message

Christopher Look

unread,
Jan 3, 2025, 4:18:37 AMJan 3
to Chromium Extensions
I have a published chrome extension that I apparently used the wrong client id in the oauth credential for. When I try to change the client id to the right one it gives me:

"The request failed because one of the field of the resource is invalid."

I am able to successfully verify ownership. I found advice that said 
"If you can verify ownership of your Chrome extension in the Chrome Web Store but are still unable to change the Client ID to match the one in the URL, it likely means you need to update the "Application ID" field within your Google Cloud Platform (GCP) Console to use the correct extension ID from the Web Store URL; the Client ID is generated based on this Application ID and needs to be updated to reflect the correct extension. "

But I wasn't able to find any place for an "Application ID."

TIA! 

Patrick Kettner

unread,
Jan 14, 2025, 8:43:40 AMJan 14
to Christopher Look, Chromium Extensions
Hey Christopher,
Sorry you are having an issue. I think you may not be getting many replies here because it isn't quite clear what it is you are trying to do. Are you trying to update an extension via the cws api? Or what are you using oauth credentials for?

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/30f41fc6-0b4e-47c1-97ce-0fb9c16d8a27n%40chromium.org.

Christopher Look

unread,
Jan 15, 2025, 10:05:51 AMJan 15
to Chromium Extensions, Patrick Kettner, Chromium Extensions, Christopher Look
Thanks for the reply!

Yeah that is totally fair, its my first time building an extension and I'm not totally sure what I'm doing.

I, along with the extension, have an oauth client id that I use to readonly calendar data from the user (relevant to the app). Accessible from https://console.cloud.google.com/apis/credentials. I created it and got the extension approved, but the item ID is incorrect. It should be the id at the end of an extension. Specifically for me it is "cilpaaigidlcbbecpdbpgmkgcabncblh" from https://chromewebstore.google.com/detail/video-call-calendar-auto/cilpaaigidlcbbecpdbpgmkgcabncblh. I am trying to change the item id in my oauth settings to be cilpaaigidlcbbecpdbpgmkgcabncblh but when I tried to submit a week ago, it gave me that error "The request failed because one of the field of the resource is invalid." However, today, I just checked, and the screen tells me "The Item ID cannot be updated after the app is verified. Please reach out to Trust and Safety team that approved your app." I guess now my question is how do I reach out to Trust and Safety to change the item id?

Thanks for the help again!

Patrick Kettner

unread,
Jan 15, 2025, 10:11:19 AMJan 15
to Christopher Look, Chromium Extensions
Hey Christopher
Thanks for the details! Is there a reason why you wouldn't just create a new oauth client, and then update the extension with that value?

Christopher Look

unread,
Jan 20, 2025, 4:42:31 AMJan 20
to Chromium Extensions, Patrick Kettner, Chromium Extensions, Christopher Look
Thats absolutely the right thing to do, before I asked the question, It didn't have that message so it seemed it could be changed. Its just the overhead of making a request to change the extension for just changing the oauth extension is annoying. Thanks for the help!

Chris

Reply all
Reply to author
Forward
0 new messages