| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:166f15eb-929e-001e-3d11-2bca9362a341 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FEC:154D88:20DE7A5:2A04711:6B01B688 |
| html-safe-nonce | 341f585f728efd45f75eed7334de89dc1bc95360fd6246cdb20e17a270c2d0b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkVDOjE1NEQ4ODoyMERFN0E1OjJBMDQ3MTE6NkIwMUI2ODgiLCJ2aXNpdG9yX2lkIjoiNjk4MDkyMTc0OTI3MDUwMzc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9507068d1e4af7a1a28ae163da899b768990036a4d18821f40112fc2d820099a |
| hovercard-subject-tag | pull_request:1009061267 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coder/coder/pull/3241/files |
| twitter:image | https://avatars.githubusercontent.com/u/7511231?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7511231?s=400&v=4 |
| og:image:alt | Building on #3190, this PR handles all the remaining auth API errors:
getUser Will handle in a separate PR
checkPermissions
getSSHKey
regenerateSSHKey
Subtasks
display the relevant errors using... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
| Skip to content | https://github.com/coder/coder/pull/3241/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F3241%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F3241%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/3241/files |
| Reload | https://github.com/coder/coder/pull/3241/files |
| Reload | https://github.com/coder/coder/pull/3241/files |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests470 (470) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| AbhineetJain | https://github.com/AbhineetJain |
| main | https://github.com/coder/coder/tree/main |
| abhineetjain/auth-service-unused-errors | https://github.com/coder/coder/tree/abhineetjain/auth-service-unused-errors |
|
Conversation
14
| https://github.com/coder/coder/pull/3241 |
|
Commits
7
| https://github.com/coder/coder/pull/3241/commits |
|
Checks
0
| https://github.com/coder/coder/pull/3241/checks |
|
Files changed
| https://github.com/coder/coder/pull/3241/files |
| Please reload this page | https://github.com/coder/coder/pull/3241/files |
|
fix: handle all auth API errors
| https://github.com/coder/coder/pull/3241/files#top |
|
Show all changes
7 commits
| https://github.com/coder/coder/pull/3241/files |
|
6ae13b1
fix: show errors on SSH Key page
AbhineetJain Jul 26, 2022
| https://github.com/coder/coder/pull/3241/commits/6ae13b12f12ee54e93e3af64002f1fcf7c5efd79 |
|
c37b4ec
handle all auth api errors
AbhineetJain Jul 26, 2022
| https://github.com/coder/coder/pull/3241/commits/c37b4ece6d679fa8daae315b52f8d899c756db4e |
|
865c1c5
add stories, refactor code
AbhineetJain Jul 28, 2022
| https://github.com/coder/coder/pull/3241/commits/865c1c50d33f1e7ad9edefd51b1d7dca45c78687 |
|
c41fb43
Merge branch 'main' into abhineetjain/auth-service-unused-errors
AbhineetJain Jul 28, 2022
| https://github.com/coder/coder/pull/3241/commits/c41fb43cf5b12e9c578a07cd4b80d7783b108f2d |
|
3ce260a
remove getUserError
AbhineetJain Jul 28, 2022
| https://github.com/coder/coder/pull/3241/commits/3ce260ac8b06920c7d22eeed163c72cb351c2cb3 |
|
dadce4b
Merge branch 'main' into abhineetjain/auth-service-unused-errors
AbhineetJain Jul 28, 2022
| https://github.com/coder/coder/pull/3241/commits/dadce4b2f2954aa0ebc902f704a466754c26ef35 |
|
3dbd3f3
use makeMockApiError helper
AbhineetJain Jul 28, 2022
| https://github.com/coder/coder/pull/3241/commits/3dbd3f34c9b48e7ceee466bdd25352f057609f13 |
|
Clear filters
| https://github.com/coder/coder/pull/3241/files |
| Please reload this page | https://github.com/coder/coder/pull/3241/files |
| Please reload this page | https://github.com/coder/coder/pull/3241/files |
|
SignInForm.stories.tsx
| https://github.com/coder/coder/pull/3241/files#diff-dc3ea09b75d450717263a7d3469267d6385267317525ec28087f7308e2e7ed5c |
|
SignInForm.tsx
| https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
|
LoginPage.test.tsx
| https://github.com/coder/coder/pull/3241/files#diff-8919e53da91911dd074e42fff2db2ad82e77ac76c1b74c581b87d6f91b3ca81b |
|
LoginPage.tsx
| https://github.com/coder/coder/pull/3241/files#diff-be2f52ca6309a5b06781700a9eaed19bab0ee295fff02523ad9346d7352bfe42 |
|
SSHKeysPage.test.tsx
| https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
|
SSHKeysPage.tsx
| https://github.com/coder/coder/pull/3241/files#diff-28718cb8e0d21af1db2540d9f68e588f41f8284c7ef2bd9ab72417f9742ff349 |
|
SSHKeysPageView.stories.tsx
| https://github.com/coder/coder/pull/3241/files#diff-561ac09abbe1d087ab402660de60b61d0c90697794c7c5cf297b07278a27f15a |
|
SSHKeysPageView.tsx
| https://github.com/coder/coder/pull/3241/files#diff-bd22b90dc37e9670aef8835667e84426e97571e28e5b956cc183ac09c6a57a44 |
|
authXService.ts
| https://github.com/coder/coder/pull/3241/files#diff-b0657ae21106bafcf956bdd0ff5b4b0aa547390c48f8ac500102688f3f19e933 |
| site/src/components/SignInForm/SignInForm.stories.tsx | https://github.com/coder/coder/pull/3241/files#diff-dc3ea09b75d450717263a7d3469267d6385267317525ec28087f7308e2e7ed5c |
|
View file
| https://github.com/coder/coder/blob/3dbd3f34c9b48e7ceee466bdd25352f057609f13/site/src/components/SignInForm/SignInForm.stories.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/3241/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/3241/files#diff-dc3ea09b75d450717263a7d3469267d6385267317525ec28087f7308e2e7ed5c |
|
| https://github.com/coder/coder/pull/3241/files#diff-dc3ea09b75d450717263a7d3469267d6385267317525ec28087f7308e2e7ed5c |
|
| https://github.com/coder/coder/pull/3241/files#diff-dc3ea09b75d450717263a7d3469267d6385267317525ec28087f7308e2e7ed5c |
| site/src/components/SignInForm/SignInForm.tsx | https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
|
View file
| https://github.com/coder/coder/blob/3dbd3f34c9b48e7ceee466bdd25352f057609f13/site/src/components/SignInForm/SignInForm.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/3241/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
|
| https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
|
| https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
|
| https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
|
| https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
|
| https://github.com/coder/coder/pull/3241/files#diff-2581fc5a75919683bb7cb53c67372a7be22e60d9d57f80d523daadb7dda3b475 |
| site/src/pages/LoginPage/LoginPage.test.tsx | https://github.com/coder/coder/pull/3241/files#diff-8919e53da91911dd074e42fff2db2ad82e77ac76c1b74c581b87d6f91b3ca81b |
|
View file
| https://github.com/coder/coder/blob/3dbd3f34c9b48e7ceee466bdd25352f057609f13/site/src/pages/LoginPage/LoginPage.test.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/3241/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/3241/files#diff-8919e53da91911dd074e42fff2db2ad82e77ac76c1b74c581b87d6f91b3ca81b |
|
| https://github.com/coder/coder/pull/3241/files#diff-8919e53da91911dd074e42fff2db2ad82e77ac76c1b74c581b87d6f91b3ca81b |
|
| https://github.com/coder/coder/pull/3241/files#diff-8919e53da91911dd074e42fff2db2ad82e77ac76c1b74c581b87d6f91b3ca81b |
| site/src/pages/LoginPage/LoginPage.tsx | https://github.com/coder/coder/pull/3241/files#diff-be2f52ca6309a5b06781700a9eaed19bab0ee295fff02523ad9346d7352bfe42 |
|
View file
| https://github.com/coder/coder/blob/3dbd3f34c9b48e7ceee466bdd25352f057609f13/site/src/pages/LoginPage/LoginPage.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/3241/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/3241/files#diff-be2f52ca6309a5b06781700a9eaed19bab0ee295fff02523ad9346d7352bfe42 |
|
| https://github.com/coder/coder/pull/3241/files#diff-be2f52ca6309a5b06781700a9eaed19bab0ee295fff02523ad9346d7352bfe42 |
| presleyp | https://github.com/presleyp |
| Jul 27, 2022 | https://github.com/coder/coder/pull/3241/files#r931117237 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/coder/pull/3241/files |
|
| https://github.com/coder/coder/pull/3241/files#diff-be2f52ca6309a5b06781700a9eaed19bab0ee295fff02523ad9346d7352bfe42 |
| site/src/pages/UserSettingsPage/SSHKeysPage/SSHKeysPage.test.tsx | https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
|
View file
| https://github.com/coder/coder/blob/3dbd3f34c9b48e7ceee466bdd25352f057609f13/site/src/pages/UserSettingsPage/SSHKeysPage/SSHKeysPage.test.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/3241/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
|
| https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
|
| https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
|
| https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
|
| https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
|
| https://github.com/coder/coder/pull/3241/files#diff-4d87b17cc7b74b0a29110f34e6d915d2c93471e2651329130be6a44fa9ed8e42 |
| site/src/pages/UserSettingsPage/SSHKeysPage/SSHKeysPage.tsx | https://github.com/coder/coder/pull/3241/files#diff-28718cb8e0d21af1db2540d9f68e588f41f8284c7ef2bd9ab72417f9742ff349 |
|
View file
| https://github.com/coder/coder/blob/3dbd3f34c9b48e7ceee466bdd25352f057609f13/site/src/pages/UserSettingsPage/SSHKeysPage/SSHKeysPage.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/3241/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/3241/files#diff-28718cb8e0d21af1db2540d9f68e588f41f8284c7ef2bd9ab72417f9742ff349 |
| Please reload this page | https://github.com/coder/coder/pull/3241/files |
|
| https://github.com/coder/coder/pull/3241/files#diff-28718cb8e0d21af1db2540d9f68e588f41f8284c7ef2bd9ab72417f9742ff349 |
| site/src/pages/UserSettingsPage/SSHKeysPage/SSHKeysPageView.stories.tsx | https://github.com/coder/coder/pull/3241/files#diff-561ac09abbe1d087ab402660de60b61d0c90697794c7c5cf297b07278a27f15a |
|
View file
| https://github.com/coder/coder/blob/3dbd3f34c9b48e7ceee466bdd25352f057609f13/site/src/pages/UserSettingsPage/SSHKeysPage/SSHKeysPageView.stories.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/3241/{{ revealButtonHref }} |
| Please reload this page | https://github.com/coder/coder/pull/3241/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |