mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +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:
		| @@ -60,16 +60,16 @@ SMTP_FROM_ADDRESS=Mastodon <{{ users['no-reply'].email }}> | ||||
| # @see https://stackoverflow.com/questions/72081776/how-mastodon-configured-login-using-sso | ||||
|  | ||||
| OIDC_ENABLED={{ applications | get_app_conf(application_id, 'features.oidc', False) | string | lower }} | ||||
| OIDC_DISPLAY_NAME="{{ oidc.button_text }}" | ||||
| OIDC_ISSUER={{ oidc.client.issuer_url }} | ||||
| OIDC_DISPLAY_NAME="{{ OIDC.BUTTON_TEXT }}" | ||||
| OIDC_ISSUER={{ OIDC.CLIENT.ISSUER_URL }} | ||||
| OIDC_DISCOVERY=true | ||||
| OIDC_SCOPE="openid,profile,email" | ||||
| # @see https://stackoverflow.com/questions/72108087/how-to-set-the-username-of-mastodon-by-log-in-via-keycloak | ||||
| OIDC_UID_FIELD={{oidc.attributes.username}} | ||||
| OIDC_CLIENT_ID={{ oidc.client.id }} | ||||
| OIDC_UID_FIELD={{OIDC.ATTRIBUTES.USERNAME}} | ||||
| OIDC_CLIENT_ID={{ OIDC.CLIENT.ID }} | ||||
| OIDC_REDIRECT_URI=https://{{ domains | get_domain(application_id) }}/auth/auth/openid_connect/callback | ||||
| OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true | ||||
| OIDC_CLIENT_SECRET={{ oidc.client.secret }} | ||||
| OIDC_CLIENT_SECRET={{ OIDC.CLIENT.SECRET }} | ||||
| # uncomment to only use OIDC for login / registration buttons | ||||
| OMNIAUTH_ONLY=true | ||||
| ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user