mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Added get_domain function
This commit is contained in:
		| @@ -3,7 +3,7 @@ | ||||
| # @see https://github.com/mastodon/mastodon/blob/main/.env.production.sample | ||||
|  | ||||
|  | ||||
| LOCAL_DOMAIN={{domains[application_id]}} | ||||
| LOCAL_DOMAIN={{domains | get_domain(application_id)}} | ||||
| ALTERNATE_DOMAINS="{{ domains.mastodon[1:] | join(',') }}" | ||||
| SINGLE_USER_MODE={{applications.mastodon.single_user_mode}} | ||||
|  | ||||
| @@ -67,7 +67,7 @@ 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_REDIRECT_URI=https://{{domains[application_id]}}/auth/auth/openid_connect/callback | ||||
| 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}} | ||||
| # uncomment to only use OIDC for login / registration buttons | ||||
|   | ||||
		Reference in New Issue
	
	Block a user