Overview
This article provides step-by-step guidance on how to configure Google Single Sign-On (SSO) for Encodify using OpenID Connect (OIDC).
Configuring OpenID Connect for Encodify via Okta
Step 1: Start IdP Configuration in Encodify
Navigate to: Site Configuration → Identity Providers and Users → Identity Providers.
Click Add New IdP.
Fill in the fields as follows:
Name ID: Use only English letters without spaces. This will be part of the URL.
Display Name for Login Page: This will be shown on the login button.
Authentication Method: Select OpenID Connect.
Email Domains (optional): Specify allowed domains (e.g.
encode.dk, microsoft.com
).
Click Next to proceed to Step 2.
Step 2: Link to a Login URL
Link your IdP configuration to an existing Login URL and Login Page, or create new ones.
Each IdP can be linked to only one Login URL.
Click Next to proceed to Step 3.
Step 3: Obtain Okta Configuration Details
Note the Callback URL shown in Encodify. Example:
https://mpa.dev.encode.dk/mpa/login/oauth2/code/OidOkta
.
Step 4: Create OAuth Credentials in Okta Admin Console
Go to your Okta Admin Console (e.g.
https://dev-XXXXXXXX-admin.okta.com/admin/dashboard
).Navigate to Applications → Applications.
Click Create App Integration.
Select:
Sign-in method: OIDC - OpenID Connect
Application type: Web Application
Click Next.
Complete the fields:
App Integration Name: Enter a recognisable name.
Sign-in redirect URIs: Paste the Callback URL from Encodify.
Sign-out redirect URIs: Leave blank.
Assignments: Choose appropriate access. This guide assumes no group restriction.
Click Save.
Copy:
Client ID from Client Credentials
Client Secret from Client Secrets
Navigate to: Security → API → Authorization Servers → default.
Copy:
OpenID Connect JWK URI:
https://dev-XXXXXXXX.okta.com/oauth2/default/v1/keys
Authorisation URL:
https://dev-XXXXXXXX.okta.com/oauth2/default/v1/authorize
Token URL:
https://dev-XXXXXXXX.okta.com/oauth2/default/v1/token
(Optional) You can also fetch these by entering the full config URL into OpenID Connect Config URL field in Encodify:
https://dev-XXXXXXXX.okta.com/oauth2/default/.well-known/openid-configuration
Step 5: Finalise IdP Configuration in Encodify
In Step 3 of Encodify IdP setup:
OpenID Connect Type: Select "Okta"
Client ID: Paste from Okta
Client Secret: Paste from Okta
Scope:
openid, profile, email
External User ID Attribute:
email
Mapped Attributes:
name → Name
,email → Email
Click Next to proceed to Step 4.
Step 6: Attribute and Group Mapping (Optional)
You can optionally map token claims from Okta to:
Encodify Access Rights
User Groups
If you're not mapping from token attributes, continue with default settings.

An image highlighting Access Right Mapping

An image highlighting User Group Mapping
Step 7: Default User Groups
Define default groups to assign on first login.
Click Next.
Step 8: Welcome Message & First Login Email
Optionally enable a Welcome Email and First Login Message.
Click Save IdP to complete the setup.
Logging In via Okta SSO
If Okta is the only authentication method linked to the Login URL, users will be redirected automatically. If multiple methods exist, users will see a button (e.g. Sign in with Okta SSO). Upon first login, users will be auto-provisioned in Encodify with configured roles and attributes.