mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	- Fixed incorrect handling of RBAC group configuration (moved from OIDC claims into dedicated RBAC variable set).
- Unified RBAC group usage across applications (LAM, pgAdmin, phpLDAPadmin, phpMyAdmin, YOURLS).
- Replaced old 'KEYCLOAK_OIDC_RBAC_SCOPE_NAME' with dedicated 'KEYCLOAK_RBAC_GROUP_*' variables.
- Updated OAuth2 Proxy configuration to use 'RBAC.GROUP.CLAIM'.
- Refactored Keycloak role task structure:
  * Renamed and reorganized task files for clarity ('_update.yml', '02_cleanup.yml', etc.).
  * Introduced meta and dependency handling separation.
- Cleaned up Keycloak config defaults and recaptcha placeholders.
		
	
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| load_dependencies:    True  # When set to false the dependencies aren't loaded. Helpful for developing
 | |
| actions:
 | |
|   import_realm:       True     # Import REALM
 | |
| features:
 | |
|   matomo:             true
 | |
|   css:                true
 | |
|   desktop:            true
 | |
|   ldap:               true
 | |
|   central_database:   true
 | |
|   recaptcha:          true
 | |
| 
 | |
|   # Doesn't make sense to activate logout page for keycloak, because the logout page 
 | |
|   # anyhow should be included via iframe in keycloak.
 | |
|   # The JS is also messing with the keycloak config fields
 | |
|   # @todo optimize the JS
 | |
|   logout:             false                             
 | |
| server:
 | |
|   csp:
 | |
|     flags:
 | |
|       script-src-elem:
 | |
|         unsafe-inline: true
 | |
|       script-src:
 | |
|         unsafe-inline: true
 | |
|       style-src:
 | |
|         unsafe-inline: true
 | |
|     whitelist:
 | |
|       frame-src:
 | |
|         - "*" # For frontend channel logout it's necessary that iframes can be loaded
 | |
|   domains:
 | |
|     canonical:
 | |
|       - "auth.{{ PRIMARY_DOMAIN }}"
 | |
| scopes:
 | |
|   nextcloud:  nextcloud
 | |
| 
 | |
| docker:
 | |
|   services:
 | |
|     keycloak:
 | |
|       image:    "quay.io/keycloak/keycloak"
 | |
|       version:  "latest"
 | |
|       name:     "keycloak"
 | |
|     database:
 | |
|       enabled: true
 | |
| 
 | |
| credentials:
 | |
|   recaptcha:
 | |
|     website_key:    "" # Required if you enabled recaptcha:
 | |
|     secret_key:     ""  # Required if you enabled recaptcha: |