website/integrations: improve 'Portainer' section (#3508)
* Cleared up confusion regarding portainer Adding in a / at the end of the redirect url is crucial and failing to do so will cause a 'Redirect URL' error thrown in by authentik. I also find it more clear to use 'portainer.company' instead of 'port.company'. Signed-off-by: Matthieu B <66959271+mtthidoteu@users.noreply.github.com> * fix lint Signed-off-by: Matthieu B <66959271+mtthidoteu@users.noreply.github.com> Co-authored-by: Jens L <jens@beryju.org>
This commit is contained in:
parent
3db0a5b3d1
commit
89f8962a23
|
@ -20,7 +20,7 @@ This is based on authentik 2021.7.3 and Portainer 2.6.x-CE. Portainer 2.6 suppor
|
|||
|
||||
The following placeholders will be used:
|
||||
|
||||
- `port.company` is the FQDN of Portainer.
|
||||
- `portainer.company` is the FQDN of Portainer.
|
||||
- `authentik.company` is the FQDN of authentik.
|
||||
|
||||
### Step 1 - authentik
|
||||
|
@ -36,7 +36,7 @@ Only settings that have been modified from default have been listed.
|
|||
- Name: Portainer
|
||||
- Client ID: Copy and Save this for Later
|
||||
- Client Secret: Copy and Save this for later
|
||||
- Redirect URIs/Origins: `https://port.company`
|
||||
- Redirect URIs/Origins: `https://portainer.company/`
|
||||
|
||||
### Step 2 - Portainer
|
||||
|
||||
|
@ -46,7 +46,7 @@ In Portainer, under _Settings_, _Authentication_, Select _OAuth_ and _Custom_
|
|||
- 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`
|
||||
- Redirect URL: `https://portainer.company`
|
||||
- Resource URL: `https://authentik.company/application/o/userinfo/`
|
||||
- Logout URL: `https://authentik.company/application/o/portainer/end-session/`
|
||||
- User Identifier: `email`
|
||||
|
@ -65,7 +65,7 @@ In authentik, create an application which uses this provider. Optionally apply a
|
|||
- Name: Portainer
|
||||
- Slug: portainer
|
||||
- Provider: Portainer
|
||||
- Launch URL: https://port.company
|
||||
- Launch URL: https://portainer.company
|
||||
|
||||
## Notes
|
||||
|
||||
|
|
Reference in New Issue