Help

Integration

Octelium OIDC Integration

Updated 18 Nov 2026 6 min read

This document explains how to implement Monosign with Octelium, the open source, self-hosted zero trust access platform (WireGuard/QUIC based VPN and clientless access). Octelium supports external identity providers through OpenID Connect (OIDC) and SAML 2.0. This document covers OIDC. Octelium uses the Authorization Code flow, so the OIDC/OpenID access key of Monosign is used. Before you continue, it is better to read the Octelium documentation (opens in a new tab).

This configuration was tested with Octelium v0.51.0 (single-node Cluster installed with the official installer, which uses K3s). If your version is different, please check the Octelium documentation.

Octelium has no setup page for identity providers: they are defined as resources of the type IdentityProvider with the octeliumctl command line tool. The Cluster needs its own domain name (for example octelium.example.com) with a wildcard DNS record (*.octelium.example.com) and a TLS certificate for both names.

Monofor has no responsibility to do Octelium configurations. If you need support please contact the Octelium community or your Octelium support provider.

Instructions

This documentation contains 5 main steps for integration.

  1. Creating an application on Monosign

  2. Configuring the OIDC/OpenID settings on Monosign

  3. Assign a user to the Octelium application

  4. Configuration Single Sign-On for Octelium

  5. Sign In Test

1- Creating an Application on Monosign

Create your application on Monosign first. Open the Applications page from the left menu and click Add New.

image-20261030-191725.png

Octelium is not in the application catalog, so click Create from scratch.

image-20261030-191750.png

Fill in the application details on the Application tab and click Next.

octelium-01-application.jpg

Property

Value

Description

Name

Octelium

Name of the application shown to users on the Monosign portal and on the Monosign sign-in page.

Type

Web

Options: Web, Mobile, Desktop, API.

Url

Optional

Leave empty or enter the address of Octelium (for example https://<octelium-address>).

Logo

Optional

Browse and upload a logo (PNG or JPG, max 1 MB); it is also shown on the Monosign sign-in page.

Users can see this application on their list

Enabled

Displays the application on the user portal.

On the Access tab keep the defaults (System Default) and click Create Application.

image-20261030-192040.png

After the application is created, click Keys and add a new Access Key for OIDC/OpenID access.

image-20261030-192203.png

Select OIDC/OpenID as the key type and click Create. Monosign generates the Client Id and Client Secret automatically.

octelium-02-key-type.jpg

The created key shows the values that are needed in Octelium:

octelium-03-key-details.jpg

Monosign value

Example

Used in Octelium as

Client Id

<client-id>

clientID

Client Secret

<client-secret>

Octelium Secret, referenced by clientSecret.fromSecret

Issuer

https://<monosign-host>/

issuerURL. Enter the address with the slash at the end; it is the address of the Configuration Url without .well-known/openid-configuration.

2- Configuring the OIDC/OpenID Settings on Monosign

Open the Keys tab of the application and click the Configure button of the OpenID Connect (OIDC) key.

image-20261031-211438.png

Open the OIDC/OpenID Settings tab, enter the scopes in the Scope field (press Enter after each scope), add the callback address of Octelium to Allowed Redirect URIs and press Update.

octelium-04-oidc-settings.jpg

Property

Value

Description

Allowed Redirect URIs

https://<octelium-address>/callback

The address where Monosign sends the user back after sign-in. <octelium-address> is the domain of the Octelium Cluster.

Scope

openid profile email

Enter the three scopes one by one.

Other fields

Empty / default

The other fields are not needed.

3- Assign a User to the Octelium Application

Open the application in Monosign, click the Assignments tab and click Assign a User.

image-20261030-193315.png

Search and select the users who can sign in to Octelium, check the Expiration Date and save. You can select more than one user. Every user needs an e-mail address in Monosign.

image-20261030-193652.png

The assigned users are listed on the Assignments tab.

octelium-05-assignments.jpg

4- Configuration Single Sign-On for Octelium

As we mentioned at the start, please check out the Octelium documentation first. The following commands are run with octeliumctl by an administrator who is logged in to the Cluster (for example octelium login --domain <octelium-address> --auth-token <token> and export OCTELIUM_DOMAIN=<octelium-address>).

First, save the Client Secret of Monosign as an Octelium Secret:

octeliumctl create secret monosign-client-secret --value '<client-secret>'

Then create the identity provider. Save the following file as monosign-idp.yaml and apply it with octeliumctl apply monosign-idp.yaml.

kind: IdentityProvider
metadata:
  name: monosign
spec:
  displayName: Monosign
  oidc:
    issuerURL: https://<monosign-host>/
    clientID: <client-id>
    clientSecret:
      fromSecret: monosign-client-secret

Field

Value

Description

displayName

Monosign

Shown on the sign-in button (Continue with Monosign).

issuerURL

https://<monosign-host>/

Address of Monosign with the slash at the end. Octelium reads the OIDC configuration from it automatically.

clientID

Client Id

Copied from the Monosign OIDC/OpenID access key created in the first step.

clientSecret.fromSecret

monosign-client-secret

Name of the Octelium Secret that holds the Client Secret.

Octelium matches the user that signs in with the e-mail address of an Octelium User. Create an Octelium user for each Monosign user that is allowed to sign in. The e-mail address must be the same as in Monosign.

kind: User
metadata:
  name: john-mono
spec:
  type: HUMAN
  email: [email protected]

Apply it with octeliumctl apply john-user.yaml. The identity provider can be checked with octeliumctl get idp.

The default scopes of Octelium are openid, profile and email. Octelium does not require the email_verified claim unless checkEmailVerified is set. What a user can reach after signing in is decided by the Octelium policies and the authorization of the user; the sign-in itself does not give access to any Service.

5- Sign In Test

Open a new browser window (or a private window) and type the address of the Octelium Cluster (https://<octelium-address>). The sign-in page shows the Continue with Monosign button.

octelium-06-login-page.jpg
  1. Click Continue with Monosign.

  2. On the Monosign sign-in page log in passwordless with your QR code (Monofor Identity), with a Passkey or with your user name and password. If you are already signed in to Monosign, the page is skipped.

  3. Monosign redirects the browser back to Octelium (/callback) and the Octelium Portal opens with the Services that are available to the user.

octelium-08-portal.jpg

Troubleshooting

Symptom

Cause

Solution

The Continue with Monosign button is not shown

The identity provider was not created.

Check octeliumctl get idp (step 4).

Monosign shows a redirect URI error

The callback address does not exactly match the Allowed Redirect URIs.

Use https://<octelium-address>/callback exactly (step 2).

An error appears after returning from Monosign

Wrong Client Id or Client Secret, or the issuer has no slash at the end.

Check the values (steps 1 and 4).

The user cannot sign in

The user is not assigned to the application in Monosign or has no Octelium user with the same e-mail address.

Assign the user in step 3 and create the Octelium user (step 4).

After completing the configuration on Octelium and Monosign, it is better to test in a new private browser window if the OIDC SSO doesn’t work, because old session cookies may cause errors.

Permanent link