Unable to authenticate due to existing API_Endpoint environment variable
See original GitHub issueDescription
GitHub Desktop is unable to authenticate with GitHub.com because it uses an environment variable called API_Endpoint
to override the API address and our application uses an environment variable called - you guessed it - API_Endpoint
for its own nefarious ends.
See https://github.com/desktop/desktop/issues/794
I think the lesson for all of us is to prefix our environment variable names to make them more specific!
Version
- GitHub Desktop: 1.2.6
- Operating system: Windows 10
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Override API endpoint with env var · Issue #794 · desktop/desktop ...
Override API endpoint with env var #794 ... Unable to authenticate due to existing API_Endpoint environment variable #5137.
Read more >Resolve API Gateway REST API 403 “Missing Authentication ...
The API request isn't signed when the API method has AWS Identity and Access Management (IAM) authentication turned on.
Read more >npm error E401: Unable to authenticate, need: BASIC realm ...
Show activity on this post. I'm run set's command from the post and add in nexus "Active realms" profile "npm Bearer Token Realm"....
Read more >Authentication and authorization in InfluxDB
Authenticate with environment variables. Use the INFLUX_USERNAME and INFLUX_PASSWORD environment variables to provide authentication credentials to the influx ...
Read more >Environments | ReadyAPI Documentation - SmartBear Support
An environment includes API endpoints, authentication profiles for REST, SOAP, ... Test suite properties and lower-level properties will not be available.
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 Free
Top 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
The app should probably only be checking for this environment variable in development mode, although it would make sense to namespace it, perhaps
GITHUB_DESKTOP_DOTCOM_API_ENDPONT
?Okay, got it. Thank you!