feat: Add proxy authentication support for reverse proxy SSO#904
Open
juchong wants to merge 1 commit intolouislam:masterfrom
Open
feat: Add proxy authentication support for reverse proxy SSO#904juchong wants to merge 1 commit intolouislam:masterfrom
juchong wants to merge 1 commit intolouislam:masterfrom
Conversation
Add header-based authentication for integration with identity providers like Authentik, Authelia, OAuth2 Proxy, and Traefik Forward Auth. Features: - Extract authenticated username from configurable HTTP header - Auto-create users on first login (optional) - Redirect to external logout URL on sign out - Skip setup page when first user is created via proxy auth - Show proxy auth status in Security settings UI Configuration: - DOCKGE_AUTH_PROXY_HEADER: Header name (e.g., Remote-User) - DOCKGE_AUTH_PROXY_AUTO_CREATE: Auto-create users (true/false) - DOCKGE_AUTH_PROXY_LOGOUT_URL: External logout redirect URL Files: - backend/proxy-auth.ts: New proxy authentication handler - backend/dockge-server.ts: Integrate proxy auth on socket connection - backend/util-server.ts: Add config interfaces - frontend/src/mixins/socket.ts: Handle proxy auth state - frontend/src/components/Login.vue: Show proxy auth errors - frontend/src/components/settings/Security.vue: Proxy auth UI - frontend/src/lang/en.json: Translation strings - README.md: Full documentation with examples - compose.yaml: Example environment variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/louislam/dockge/blob/master/CONTRIBUTING.md
Tick the checkbox if you understand [x]:
Description
Add header-based authentication for integration with identity providers like Authentik, Authelia, OAuth2 Proxy, and Traefik Forward Auth.
Features:
Configuration:
Files:
Discussion(s):
Type of change
Checklist
(including JSDoc for methods)
Screenshots (if any)