Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 5.81 KB

README.md

File metadata and controls

50 lines (30 loc) · 5.81 KB

Keycloak Auth Proxy

The Keycloak Auth Proxy makes it possible to protect web resources that have no build in authentication.

How is it working

+------------+                                                                                                                                              
|            |                                                                                                                                              
|  Internet  |                                                                                                                                              
|            |                                                                                                                                              
+------|-----+                                                                                                                                              
       |                                                                                                                                                    
       |                                                                                                                                                    
       |                                                                                                                                                    
+------|-----+               +------------+                                                                                                                 
|            |               |            |                                                                                                                 
| Auth Proxy -----------------  Keycloak  |                                                                                                                 
|            |               |            |                                                                                                                 
+------|-----+               +------------+                                                                                                                 
       |                                                                                                                                                    
       |                                                                                                                                                    
       |                                                                                                                                                    
+------|-----+                                                                                                                                              
|   Secured  |                                                                                                                                              
|   Content  |                                                                                                                                              
|            |                                                                                                                                              
+------------+  

Usecases

There are two very common usecases why you would like to use Keycloak Auth Proxy

  • Protect static website and allow only authenticated users to see the content
  • Outsource the authentication to Keycloak Auth Proxy on just relay on the header parameter about the user then Keycloak Auth Proxy forward to you.