Title: CLI show no error message when no valid access token is available · Issue #17754 · coder/coder · GitHub
Open Graph Title: CLI show no error message when no valid access token is available · Issue #17754 · coder/coder
X Title: CLI show no error message when no valid access token is available · Issue #17754 · coder/coder
Description: Is there an existing issue for this? I have searched the existing issues Current Behavior Currently coder external-auth access-token entra-id-mgmnt returns https://FQDN/external-auth/entra-id-mgmnt for an extra external auth configuratio...
Open Graph Description: Is there an existing issue for this? I have searched the existing issues Current Behavior Currently coder external-auth access-token entra-id-mgmnt returns https://FQDN/external-auth/entra-id-mgmnt...
X Description: Is there an existing issue for this? I have searched the existing issues Current Behavior Currently coder external-auth access-token entra-id-mgmnt returns https://FQDN/external-auth/entra-id-mgmnt...
Opengraph URL: https://github.com/coder/coder/issues/17754
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CLI show no error message when no valid access token is available","articleBody":"### Is there an existing issue for this?\n\n- [x] I have searched the existing issues\n\n### Current Behavior\n\nCurrently `coder external-auth access-token entra-id-mgmnt` returns https://FQDN/external-auth/entra-id-mgmnt for an extra external auth configuration for Azure management API after one hour of authenticating in account external access.\n\nAfter timeout one could see the folling message:\n\n\n\nTo get it working again one has to re-authenticate again.\n\n# Setup\n\nI've added a third external auth configuration for Azure management API. This actually works until the lifetime of the token has exceeded. So the settings are working and fully functional.\n\n### Relevant Log Output\n\n\n\n### Expected Behavior\n\nAfter token timeout the token should be refreshed with refresh token so one can always get a fresh accesstoken. And not the URL.\n\n### Steps to Reproduce\n\n1. authenticate against Azure management API\n2. wait one hour until the lifetime of the has been invalidated\n3. try to get a fresh access-token via coder CLI\n\n\n### Environment\n\n- Host OS: Linux\n- Coder version: v2.20.2\n\n\n### Additional Context\n\n_No response_","author":{"url":"https://github.com/MrPeacockNLB","@type":"Person","name":"MrPeacockNLB"},"datePublished":"2025-05-10T18:46:19Z","url":"https://github.com/coder/coder/issues/17754"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d46a74ae-4ba4-caec-ba97-65979c7d767f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAC8:21BD98:108679A:14DE141:6B014DF7 |
| html-safe-nonce | 06b12837048fa368e8243d115c4672db26b264f15d11016f223dc2c1087c37eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUM4OjIxQkQ5ODoxMDg2NzlBOjE0REUxNDE6NkIwMTRERjciLCJ2aXNpdG9yX2lkIjoiMjY4MzcxNjQwMjY2OTUwNjAzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d37ee12631b78fc79551124d5dacb17b584d8cabd9c48f014efd093c5432ecf6 |
| hovercard-subject-tag | issue:3054454847 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/17754/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b41d3b6e161889be552e0029c7a0486442c7dde50eb09593ad2ad11791bd0a3/coder/coder/issues/17754 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b41d3b6e161889be552e0029c7a0486442c7dde50eb09593ad2ad11791bd0a3/coder/coder/issues/17754 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues Current Behavior Currently coder external-auth access-token entra-id-mgmnt returns https://FQDN/external-auth/entra-id-mgmnt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MrPeacockNLB |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width