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:
Matthieu B 2022-09-01 12:49:09 +02:00 committed by GitHub
parent 3db0a5b3d1
commit 89f8962a23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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: 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. - `authentik.company` is the FQDN of authentik.
### Step 1 - authentik ### Step 1 - authentik
@ -36,7 +36,7 @@ Only settings that have been modified from default have been listed.
- Name: Portainer - Name: Portainer
- Client ID: Copy and Save this for Later - Client ID: Copy and Save this for Later
- Client Secret: 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 ### Step 2 - Portainer
@ -46,7 +46,7 @@ In Portainer, under _Settings_, _Authentication_, Select _OAuth_ and _Custom_
- Client Secret: Client Secret from step 1 - Client Secret: Client Secret from step 1
- Authorization URL: `https://authentik.company/application/o/authorize/` - Authorization URL: `https://authentik.company/application/o/authorize/`
- Access Token URL: `https://authentik.company/application/o/token/` - 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/` - Resource URL: `https://authentik.company/application/o/userinfo/`
- Logout URL: `https://authentik.company/application/o/portainer/end-session/` - Logout URL: `https://authentik.company/application/o/portainer/end-session/`
- User Identifier: `email` - User Identifier: `email`
@ -65,7 +65,7 @@ In authentik, create an application which uses this provider. Optionally apply a
- Name: Portainer - Name: Portainer
- Slug: portainer - Slug: portainer
- Provider: Portainer - Provider: Portainer
- Launch URL: https://port.company - Launch URL: https://portainer.company
## Notes ## Notes