From 89f8962a231975805be9ce655c862876b9dab10a Mon Sep 17 00:00:00 2001 From: Matthieu B <66959271+mtthidoteu@users.noreply.github.com> Date: Thu, 1 Sep 2022 12:49:09 +0200 Subject: [PATCH] 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 --- website/integrations/services/portainer/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/integrations/services/portainer/index.md b/website/integrations/services/portainer/index.md index 0ed2dbef0..0ff2f67f3 100644 --- a/website/integrations/services/portainer/index.md +++ b/website/integrations/services/portainer/index.md @@ -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