Update Docker & Kubernetes/Docker/Docker Compose/Keycloak.md
This commit is contained in:
@ -4,6 +4,25 @@
|
|||||||
- [Original Reference Deployment Video](https://www.youtube.com/watch?v=6ye4lP9EA2Y)
|
- [Original Reference Deployment Video](https://www.youtube.com/watch?v=6ye4lP9EA2Y)
|
||||||
- [Theme Customization Documentation](https://www.baeldung.com/spring-keycloak-custom-themes)
|
- [Theme Customization Documentation](https://www.baeldung.com/spring-keycloak-custom-themes)
|
||||||
|
|
||||||
|
## Keycloak Authentication Sequence
|
||||||
|
``` mermaid
|
||||||
|
sequenceDiagram
|
||||||
|
participant User
|
||||||
|
participant Traefik as Traefik Reverse Proxy
|
||||||
|
participant Keycloak
|
||||||
|
participant Services
|
||||||
|
|
||||||
|
User->>Traefik: Access service URL
|
||||||
|
Traefik->>Keycloak: Redirect to Keycloak for authentication
|
||||||
|
User->>Keycloak: Provide credentials for authentication
|
||||||
|
Keycloak->>User: Return authorization token/cookie
|
||||||
|
User->>Traefik: Send request with authorization token/cookie
|
||||||
|
Traefik->>Keycloak: Validate token/cookie
|
||||||
|
Keycloak->>Traefik: Token/cookie is valid
|
||||||
|
Traefik->>Services: Forward request to services
|
||||||
|
Services->>Traefik: Response back to Traefik
|
||||||
|
Traefik->>User: Return service response
|
||||||
|
```
|
||||||
|
|
||||||
## Docker Configuration
|
## Docker Configuration
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user