π‘οΈ Zero-Trust Authentication Gateway: WootzApp Browser-Only Access#138
Open
aashish1601 wants to merge 1 commit intowootzapp:mainfrom
Open
π‘οΈ Zero-Trust Authentication Gateway: WootzApp Browser-Only Access#138aashish1601 wants to merge 1 commit intowootzapp:mainfrom
aashish1601 wants to merge 1 commit intowootzapp:mainfrom
Conversation
β¦saml authentication
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.
π‘οΈ Zero-Trust Authentication Gateway: WootzApp Browser-Only Access
π Description
This pull request implements a comprehensive zero-trust authentication system that restricts access to internal applications exclusively to authenticated WootzApp browsers. The system replaces the previous Pomerium-based architecture with a custom Nginx + SAML bridge solution that provides granular control over browser validation and certificate-based authentication.
π― What It Does
ποΈ How It Works
1. Authentication Flow
2. Architecture Components
auth_requestmodule for authentication3. Browser Detection Logic
The system identifies WootzApp browsers through multiple methods:
X-WootzApp-Browser,X-WootzApp-Client)4. Security Features
π§ Technical Implementation
Key Files Changed
nginx.conf- Authentication gateway configurationsaml-bridge-service.py- Certificate validation and browser detectionrepo/background.js- Dynamic domain managementrepo/manifest.json- Optimized permissionsdocker-compose-nginx.yml- Service orchestrationNew Endpoints
/authorize- Nginx auth_request endpoint/store-certificate- Certificate storage with domain metadata/internal-domains- Dynamic domain management APIπ§ͺ Testing
β Should Work
β Should Be Blocked
π Benefits
π Migration Notes
π Changes Made
Architecture Changes
auth_requestmodule for authenticationCode Optimizations
Security Enhancements
Extension Updates
π― Testing Checklist
π Performance Impact
This implementation provides enterprise-grade security while maintaining ease of use for authorized WootzApp browser users. π