website: format docs with prettier (#2833)
* run prettier Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> * add scim to comparison Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		@ -11,15 +11,15 @@ Portainer is a powerful, GUI-based Container-as-a-Service solution that helps or
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
:::note
 | 
			
		||||
This is based on authentik 2021.7.3 and Portainer 2.6.x-CE.  Portainer 2.6 supports OAuth without additional licenses, 1.x Series requires a paid license for OAuth.
 | 
			
		||||
This is based on authentik 2021.7.3 and Portainer 2.6.x-CE. Portainer 2.6 supports OAuth without additional licenses, 1.x Series requires a paid license for OAuth.
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
## Preparation
 | 
			
		||||
 | 
			
		||||
The following placeholders will be used:
 | 
			
		||||
 | 
			
		||||
- `port.company` is the FQDN of Portainer.
 | 
			
		||||
- `authentik.company` is the FQDN of authentik.
 | 
			
		||||
-   `port.company` is the FQDN of Portainer.
 | 
			
		||||
-   `authentik.company` is the FQDN of authentik.
 | 
			
		||||
 | 
			
		||||
### Step 1 - authentik
 | 
			
		||||
 | 
			
		||||
@ -30,29 +30,29 @@ Only settings that have been modified from default have been listed.
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
**Protocol Settings**
 | 
			
		||||
- Name: Portainer
 | 
			
		||||
- Client type: Confidential
 | 
			
		||||
- Client ID: Copy and Save this for Later
 | 
			
		||||
- Client Secret: Copy and Save this for later
 | 
			
		||||
- Redirect URIs/Origins: `https://port.company`
 | 
			
		||||
 | 
			
		||||
-   Name: Portainer
 | 
			
		||||
-   Client type: Confidential
 | 
			
		||||
-   Client ID: Copy and Save this for Later
 | 
			
		||||
-   Client Secret: Copy and Save this for later
 | 
			
		||||
-   Redirect URIs/Origins: `https://port.company`
 | 
			
		||||
 | 
			
		||||
### Step 2 - Portainer
 | 
			
		||||
 | 
			
		||||
In Portainer, under _Settings_, _Authentication_, Select _OAuth_ and _Custom_
 | 
			
		||||
 | 
			
		||||
- Client ID: Client ID from step 1
 | 
			
		||||
- Client Secret: Client Secret from step 1
 | 
			
		||||
- Authorization URL: `https://authentik.company/application/o/authorize/`
 | 
			
		||||
- Access Token URL: `https://authentik.company/application/o/token/`
 | 
			
		||||
- Redirect URL: `https://port.company`
 | 
			
		||||
- Resource URL: `https://authentik.company/application/o/userinfo/`
 | 
			
		||||
- Logout URL: `https://authentik.company/application/o/portainer/end-session/`
 | 
			
		||||
- User Identifier: `email`
 | 
			
		||||
- Scopes: `email openid profile`
 | 
			
		||||
-   Client ID: Client ID from step 1
 | 
			
		||||
-   Client Secret: Client Secret from step 1
 | 
			
		||||
-   Authorization URL: `https://authentik.company/application/o/authorize/`
 | 
			
		||||
-   Access Token URL: `https://authentik.company/application/o/token/`
 | 
			
		||||
-   Redirect URL: `https://port.company`
 | 
			
		||||
-   Resource URL: `https://authentik.company/application/o/userinfo/`
 | 
			
		||||
-   Logout URL: `https://authentik.company/application/o/portainer/end-session/`
 | 
			
		||||
-   User Identifier: `email`
 | 
			
		||||
-   Scopes: `email openid profile`
 | 
			
		||||
 | 
			
		||||
:::note
 | 
			
		||||
Portainer by default shows commas between each item in the Scopes field.  Do **NOT** use commas.  Use a _space_
 | 
			
		||||
Portainer by default shows commas between each item in the Scopes field. Do **NOT** use commas. Use a _space_
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
@ -61,11 +61,10 @@ Portainer by default shows commas between each item in the Scopes field.  Do **N
 | 
			
		||||
 | 
			
		||||
In authentik, create an application which uses this provider. Optionally apply access restrictions to the application using policy bindings.
 | 
			
		||||
 | 
			
		||||
- Name: Portainer
 | 
			
		||||
- Slug: portainer
 | 
			
		||||
- Provider: Portainer
 | 
			
		||||
- Launch URL: https://port.company
 | 
			
		||||
 | 
			
		||||
-   Name: Portainer
 | 
			
		||||
-   Slug: portainer
 | 
			
		||||
-   Provider: Portainer
 | 
			
		||||
-   Launch URL: https://port.company
 | 
			
		||||
 | 
			
		||||
## Notes
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user