parent
							
								
									a10e42d448
								
							
						
					
					
						commit
						ae76ef9c0b
					
				
					 20 changed files with 365 additions and 100 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| #data "authentik_scope_mapping" "nextcloud" { | ||||
| #data "authentik_property_mapping_provider_scope" "nextcloud" { | ||||
| #  name = "Nextcloud Profile" | ||||
| #} | ||||
| resource "authentik_scope_mapping" "nextcloud-scope" { | ||||
| resource "authentik_property_mapping_provider_scope" "nextcloud-scope" { | ||||
|   name       = "Nextcloud Profile" | ||||
|   scope_name = "profile" | ||||
|   expression = <<EOF | ||||
|  | @ -48,8 +48,8 @@ resource "authentik_provider_oauth2" "nextcloud" { | |||
|   ] | ||||
| 
 | ||||
|   property_mappings = [ | ||||
|     data.authentik_scope_mapping.scope-email.id, | ||||
|     authentik_scope_mapping.nextcloud-scope.id | ||||
|     data.authentik_property_mapping_provider_scope.scope-email.id, | ||||
|     authentik_property_mapping_provider_scope.nextcloud-scope.id | ||||
|   ] | ||||
| 
 | ||||
|   lifecycle { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Chris Cowley
						Chris Cowley