From 324a6de47c69b9cc7f1b1085ab50ba64ea7b604f Mon Sep 17 00:00:00 2001 From: shcherbak Date: Tue, 2 Dec 2025 20:59:28 +0200 Subject: [PATCH] website/integrations: add hoop.dev (#17868) Co-authored-by: iops Co-authored-by: Dominic R --- .../integrations/networking/hoop.dev/index.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 website/integrations/networking/hoop.dev/index.md diff --git a/website/integrations/networking/hoop.dev/index.md b/website/integrations/networking/hoop.dev/index.md new file mode 100644 index 0000000000..7d3df6f2af --- /dev/null +++ b/website/integrations/networking/hoop.dev/index.md @@ -0,0 +1,70 @@ +--- +title: Integrate with Hoop.dev +sidebar_label: Hoop.dev +support_level: community +--- + +## What is Hoop.dev + +> Hoop.dev is an access gateway for databases and servers with AI-powered automations that eliminate cumbersome access policies and break-glass workflows without compromising security. +> +> -- https://hoop.dev + +## Preparation + +The following placeholders are used in this guide: + +- `hoop.company` is the FQDN of the Hoop.dev installation. +- `authentik.company` is the FQDN of the authentik installation. + +:::info +This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. +::: + +## authentik configuration + +To support the integration of Hoop.dev with authentik, you need to create an application/provider pair in authentik. + +### Create an application and provider in authentik + +1. Log in to authentik as an administrator and open the authentik Admin interface. +2. Navigate to **Applications** > **Applications** and click **Create with Provider** to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.) + - **Application**: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings. + - **Choose a Provider type**: select **OAuth2/OpenID Connect** as the provider type. + - **Configure the Provider**: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations. + - Note the **Client ID**, **Client Secret**, and **slug** values because they will be required later. + - Set a `Strict` redirect URI to `https://hoop.company/api/callback`. + - Select any available signing key. + - **Configure Bindings** _(optional)_: you can create a [binding](/docs/add-secure-apps/flows-stages/bindings/) (policy, group, or user) to manage the listing and access to applications on a user's **My applications** page. + +3. Click **Submit** to save the new application and provider. + +## Hoop.dev configuration + +To support the integration of Hoop.dev with authentik, you must configure it to use authentik as it's identity provider. + +1. Create the Kubernetes ConfigMap for `hoopgateway` deploment or set corresponding environment variables with the **Client ID**, **Client Secret** and **slug** values from the authentik provider created earlier: + +```yaml +config: + AUTH_METHOD: "oidc" + IDP_CLIENT_ID: "" + IDP_CLIENT_SECRET: "" + IDP_GROUPS_CLAIM: "groups" + IDP_ISSUER: "https://authentik.company/application/o//" +``` + +2. Restart the `hoopgateway` service to apply the configuration changes. + +## Configuration verification + +To confirm that authentik is properly configured with Hoop.dev, log in using the command below. Once authenticated, you should be signed into Hoop.dev network. + +```bash +hoop config create --api-url https://hoop.company +hoop login +``` + +## Resources + +- [Hoop.dev Documentation - Oauth2/OIDC Authentication](https://hoop.dev/docs/setup/configuration/env-vars#oauth2%2Foidc-authentication)