Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Chrome Extension store API instructions are outdated #4229

Closed
ggaabe opened this issue Nov 7, 2022 · 4 comments
Closed

Chrome Extension store API instructions are outdated #4229

ggaabe opened this issue Nov 7, 2022 · 4 comments
Labels
bug Something on the site is broken! content update extensions Issues related to extensions documentation. P2 A normal priority task. This is the default for most issues. transferred

Comments

@ggaabe
Copy link

ggaabe commented Nov 7, 2022

Describe the bug
The API instructions point to using an out-of-band api for retrieving an access token. OOB is deprecated and unusable now for new users.
The document here points users to entering a URL with the oob flag in the URL:
https://github.com/GoogleChrome/developer.chrome.com//blob/main/site/en/docs/webstore/using_webstore_api/index.md

Under "Testing your OAuth application".

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Testing Your OAuth application section of the chrome store API
  2. Enter the URL with relevant credentials
  3. See error

Expected behavior
An access token should be provided. Instead there is a deprecation error. The current instructions should be updated to reflect this reality.

@ggaabe ggaabe added bug Something on the site is broken! P2 A normal priority task. This is the default for most issues. labels Nov 7, 2022
@AmySteam AmySteam added extensions Issues related to extensions documentation. content update labels Nov 8, 2022
@sfoslund
Copy link

sfoslund commented Dec 6, 2022

@AmySteam what are the updated instructions going to be? I am running into this issue and unsure of how to work around it.

@mariuszste
Copy link

what are the updated instructions going to be? I am running into this issue and unsure of how to work around it.

The simplest workaround is to just put something fake like http://localhost:1234/whatever in the redirect_uri fields and after you log in then just grab the code from the address bar in your browser when it tries to open the non-existent url. you can then exchange it for a token using the same endpoint as before, you just have to swap redirect_uri to the one you use before.

@mormubis
Copy link
Contributor

Do you happen to have any updates on this? Can you replace OAuth with API Key to avoid these strange use cases?

@oliverdunk
Copy link
Member

Thanks for filing this. This is definitely one we are overdue to fix but we already have #3699, so closing as a duplicate of that.

@oliverdunk oliverdunk closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something on the site is broken! content update extensions Issues related to extensions documentation. P2 A normal priority task. This is the default for most issues. transferred
Projects
None yet
Development

No branches or pull requests

7 participants