RGH handles only one API Token
See original GitHub issueCurrently if you use RGH on a different domain and GitHub, as soon as you provide a token, the other site no longer works (as expected).
features.js:79 RefinedGitHubAPIError: The token seems to be incorrect or expired. Update it in the options.
at call (chrome-extension://mnoacfgkaplmhhcgdnekddifjfcllloj/content.js:2481:11)
at <anonymous>
We need to add the option to specify what URL the token is for and only use it for that domain. This becomes more important if #1713 is merged.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
RGH handles only one API Token · Issue #1714 - GitHub
Currently if you use RGH on a different domain and GitHub, as soon as you provide a token, the other site no longer...
Read more >Generating a new API token - Zendesk help
To generate an API token. In Admin Center, click Apps and integrations in the sidebar, then select APIs > Zendesk APIs. Click the...
Read more >Set up API keys using the API Gateway console
To set up API keys, do the following: Configure API methods to require an API key. Create or import an API key for...
Read more >Wolfgang Puck
Official site provides news, recipes, catering details, information on cookbooks, and links to the fine dining restaurants sponsored by Wolfgang Puck.
Read more >rgh my care
Rgh My CareIn 1928, a group of physicians purchased the hospital and ... is here to help you access My Care Account Rochester...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
An alternative solution would be to extend
webext-options-sync
to have per-domain storage and we’d have automatic per-domain tabs (created by Refined GitHub) in the options.This is actually kind of possible since
webext-options-sync
lets you change the storage key (currently stored asoptions
inchrome.storage.sync
), we just need to ensure that:https://github.com/sindresorhus/refined-github/pull/2111 contains code useful to generate those tabs (i.e. “what additional domains do we have permission to?”)
The further we go, the more I think this extension needs to be installed once per domain:
Given that GHE gets features later than regular GitHub, I expect most new features to cause errors so it’s always best to wait.
Rather than adding a field, I’d rather see documentation explaining how to:
HEAD@{ISO date 1 month ago}
)manifest.json
so it applies to your GHE URLs instead ofgithub.com
origin
when the user wants toEven better would be a cli tool that does this automatically, for any extension, like: