You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve UX when unauthorized user completes GitHub OAuth (bare 'Unauthorized.' page) #136
The login page shows: "You aren't a member of the authorized Github organizations!"
This is better than a bare error — the user knows what went wrong. What's still missing is what to do about it: which orgs qualify and where to request access.
Remaining gap
The login page error message has no link to coder-ddev-com/access-requests and no explanation of which orgs are allowed. A user seeing this has no obvious next step.
Current mitigation
A service_banner on the Coder login page (once applied to production) will appear on the same page as this error message, explaining the org requirement and linking to access-requests. That closes most of the gap without any infrastructure change.
Options for a complete fix
Service banner (immediate) — already set on staging; apply to production via PUT /api/v2/appearance. Shows on the same page as the error. No infra change needed.
Reverse proxy (Caddy/nginx) in front of Coder — intercept the OAuth callback 401/403 and redirect directly to start.coder.ddev.com/access-denied before the login page redirect. Cleanest UX but requires moving Coder to an internal port.
Coder upstream feature request — ask Coder to support a configurable unauthorized_redirect_url for the OAuth callback.
Reference
docs/access-denied.html — ready-to-use landing page at start.coder.ddev.com/access-denied
Update:service_banner and announcement_banners are Coder Premium features (has_license: false confirmed). The API accepts the payload silently but nothing displays on the open-source tier. The only no-proxy mitigation available is the built-in login page message ("You aren't a member of the authorized Github organizations!") which already works. A reverse proxy remains the only path to a proper redirect to start.coder.ddev.com/access-denied.
Activity
rfay commentedon May 7, 2026
Update:
service_bannerandannouncement_bannersare Coder Premium features (has_license: falseconfirmed). The API accepts the payload silently but nothing displays on the open-source tier. The only no-proxy mitigation available is the built-in login page message ("You aren't a member of the authorized Github organizations!") which already works. A reverse proxy remains the only path to a proper redirect tostart.coder.ddev.com/access-denied.xurizaemon commentedon Aug 5, 2026
Could a link to https://ddev.com/blog/coder-ddev-com-announcement/ on the sign-in page help users here?
I searched DDev docs and Discord, but didn't think to search the blog.
I don't see the mentioned Service Banner myself. - oh right, it was applied but not visible on non-premium Coder.
screenshot