mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	Solved bug existed due to difference between mailu domain and hostname difference. also refactored during this to find the bug
This commit is contained in:
		@@ -11,11 +11,11 @@ return array (
 | 
			
		||||
    'lost_password_link' => 'disabled',
 | 
			
		||||
 | 
			
		||||
    // URL of provider. All other URLs are auto-discovered from .well-known
 | 
			
		||||
    'oidc_login_provider_url' => '{{ oidc.client.issuer_url }}',
 | 
			
		||||
    'oidc_login_provider_url' => '{{ OIDC.CLIENT.ISSUER_URL }}',
 | 
			
		||||
 | 
			
		||||
    // Client ID and secret registered with the provider
 | 
			
		||||
    'oidc_login_client_id' => '{{ oidc.client.id }}',
 | 
			
		||||
    'oidc_login_client_secret' => '{{ oidc.client.secret }}',
 | 
			
		||||
    'oidc_login_client_id' => '{{ OIDC.CLIENT.ID }}',
 | 
			
		||||
    'oidc_login_client_secret' => '{{ OIDC.CLIENT.SECRET }}',
 | 
			
		||||
 | 
			
		||||
    // Automatically redirect the login page to the provider
 | 
			
		||||
    'oidc_login_auto_redirect' => true,
 | 
			
		||||
@@ -36,7 +36,7 @@ return array (
 | 
			
		||||
    'oidc_login_default_quota' => '{{applications | get_app_conf(application_id, 'default_quota', True)}}',
 | 
			
		||||
 | 
			
		||||
    // Login button text
 | 
			
		||||
    'oidc_login_button_text' => '{{ oidc.button_text }}',
 | 
			
		||||
    'oidc_login_button_text' => '{{ OIDC.BUTTON_TEXT }}',
 | 
			
		||||
 | 
			
		||||
    // Hide the NextCloud password change form.
 | 
			
		||||
    'oidc_login_hide_password_form' => true,
 | 
			
		||||
@@ -102,7 +102,7 @@ return array (
 | 
			
		||||
        'mail' => 'email',
 | 
			
		||||
        'quota' => '{{ ldap.user.attributes.nextcloud_quota }}',
 | 
			
		||||
        # 'home' => 'homeDirectory',    # Not implemented yet
 | 
			
		||||
        'ldap_uid' => '{{oidc.attributes.username}}',
 | 
			
		||||
        'ldap_uid' => '{{OIDC.ATTRIBUTES.USERNAME}}',
 | 
			
		||||
        # 'groups' => 'ownCloudGroups', # Not implemented yet
 | 
			
		||||
        # 'login_filter' => 'realm_access_roles',
 | 
			
		||||
    //    'photoURL' => 'picture',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user