Setting up Single Sign-On (SSO)
Kreditz supports Single Sign-On (SSO) through Okta, Google Workspace, and Microsoft Entra. See each provider below for instructions on how to configure it.
- Configuring Okta for Kreditz SSO
- Configuring Microsoft Entra ID for Kreditz SSO
- Configuring Google Workspace for Kreditz SSO
Configuring Okta for Kreditz SSO
This guide walks through configuring Okta to enable Single Sign-On into the Kreditz Vista. The setup takes about 10 minutes.
Before you start
You'll need:
- In Kreditz: an administrator account with permission to manage organisation security settings.
- In Okta: an administrator account with permission to create app integrations in your organisation's Okta org.
You will move back and forth between the two interfaces during setup, so it helps to keep both open in separate browser tabs.
Step 1 — Open the SSO Configuration in Kreditz Vista
- Sign in to the Kreditz Vista.
- Open the SSO configuration page (under Settings → Security Settings) by clicking Configure SSO.
- Select Okta as the provider.
- Locate the Redirect URI shown on screen.
- Copy this value. You'll need it in Step 4.
- Leave this Kreditz tab open — you'll return here in Step 6.
Step 2 — Create the App Integration
- Sign in to your Okta Admin Console — typically at a URL like
https://your-org-id-admin.okta.com(the "-admin" subdomain, not your regular Okta sign-in page). If you're unsure of your admin console URL, check with whoever manages Okta in your organisation, or look for it in your bookmarks/browser history from previous admin sessions. - Go to Applications and Resources → Applications in the left sidebar (not the dashboard's "Create your first Okta app" button — see warning below).
- Sign-in method: select OIDC - OpenID Connect.
- Application type: select Web Application.
- Click Next.
⚠️ The Okta dashboard's "Create your first Okta app" button leads to the Okta Integration Network (OIN) Wizard — a different flow meant for building and publishing a public integration to Okta's marketplace, complete with logo upload, public support contact, and a review/submission process. This is not what you want for a private company SSO connection. If you find yourself asked for a logo or "support contact for customers," you're in the wrong wizard — go to Applications and Resources → Applications and use Create App Integration instead.
Step 3 — Configure the App
- App integration name: any name works — e.g. "Kreditz Vista SSO." Not shown to end users.
- Grant type: leave Authorization Code checked under Core Grants (this is checked by default and matches what Kreditz requires).
- Sign-in redirect URIs: remove the default
localhostplaceholder value, then click + Add URI and paste the Redirect URI copied from Kreditz in Step 1. - Sign-out redirect URIs: optional — remove the localhost placeholder here too. Kreditz doesn't require this field.
- Trusted Origins / Base URIs: leave blank — only needed if self-hosting Okta's Sign-In Widget, which doesn't apply here.
- Assignments — Controlled access: choose "Allow everyone in your organization to access" for straightforward setups.
- Leave "Enable immediate access with Federation Broker Mode" checked (default, recommended) — this allows immediate access without pre-assigning the app to individual users, which is appropriate for an SSO-only connection like this one.
- Click Save.
Step 4 — Get the Client ID and Client Secret
- On the app's General tab, find the Client Credentials section.
- Copy the Client ID.
- Under Client Secrets, click the eye icon to reveal the secret, and copy it.
Unlike some providers, Okta lets you reveal and copy the Client Secret again at any time from this same screen — it isn't a one-time-only reveal. Still best practice to copy it now rather than navigate away.
Step 5 — Find Your Discovery URL
Unlike some identity providers that use one fixed discovery URL for every customer, each Okta org has its own unique discovery URL, built from your org's own subdomain.
- Take your Okta org's base domain — this is your admin console URL without the
adminpart. For example, if your admin console ishttps://your-org-id-admin.okta.com, your org's base domain ishttps://your-org-id.okta.com. - Your discovery URL is:
https://your-org-id.okta.com/.well-known/openid-configuration - Paste this into a browser tab to confirm it returns a JSON document starting with
{"issuer": "<https://your-org-id.okta.com>", ...}. If it does, this confirms both your discovery URL and your issuer URL are correct.
Step 6 — Enter the Values into Kreditz
Return to the Kreditz SSO configuration tab from Step 1 and enter the following:
| Kreditz field | Value to enter |
|---|---|
| Discovery URL (metadata endpoint) | https://your-org-id.okta.com/.well-known/openid-configuration — unique to your Okta org, confirmed in Step 5. |
| Issuer URL | Prefills automatically from the discovery document once the Discovery URL is validated. |
| Client ID | The Client ID copied in Step 4. |
| Client secret | The Client Secret copied in Step 4. |
| Scopes | openid profile email — the default is correct; no changes needed. |
| Email domains | Your organisation's email domain(s), comma-separated (e.g. example.com). |
Save the connection as draft.
Step 7 — Test the Sign-In
- In Kreditz, click Test SSO Login on the SSO configuration page.
- You'll be redirected to the Okta sign-in screen.
- Sign in with a user from your Okta org.
- You'll be redirected back to Kreditz. A successful connection shows a confirmation that the login worked.
If the test fails, check the following, in order:
- The Client Secret was actually pasted into Kreditz.
- The Sign-in redirect URI in Okta exactly matches the one Kreditz showed.
- The app's Assignments allow the user you're testing with to access it.
- The Discovery URL matches your org's actual subdomain, not a placeholder or another org's URL.
Step 8 — Activate and Review Roles
- Press Activate SSO. Users entering their email on the login screen will now be able to sign in using SSO.
- By default, administrators can sign in with both password and SSO. To enforce SSO, change enforcement mode to Required in SSO settings and place users in a role that lacks the permission "SSO and Standard login." This can be configured under User Management.
Rotating the Client Secret
- In Okta, open the app under Applications → Applications, go to the General tab.
- Under Client Secrets, click Generate new secret. Okta keeps the old secret active alongside the new one, so the existing connection keeps working while you switch over.
- In Kreditz, open the SSO configuration page and paste the new secret value into the Client Secret field. Save.
- Run Test SSO Login to confirm the new secret works.
- Once confirmed, return to Okta and set the old secret's status to Inactive.
Configuring Microsoft Entra ID for Kreditz SSO
This guide walks through configuring Microsoft Entra ID (formerly Azure AD) to enable Single Sign-On into the Kreditz Client Portal. The setup takes about 10 minutes.
You'll need:
- In Kreditz: an administrator account with permission to manage organisation security settings.
- In Entra: a user with the Application Administrator, Cloud Application Administrator, or Global Administrator role in your tenant.
You will move back and forth between the two interfaces during setup, so it helps to keep both open in separate browser tabs.
Step 1 — Open the SSO Configuration in Kreditz- Sign in to the Kreditz Client Portal.
- Open the SSO configuration page (under Settings → Security Settings) by clicking Configure SSO.
- Select Microsoft Entra ID as the provider.
- Locate the Redirect URI shown on screen
- Copy this value. You'll paste it into Entra in the next step.
Leave this Kreditz tab open — you'll return here in Step 5.
Step 2 — Create an App Registration in Entra- In a new tab, sign in to the Microsoft Entra admin center.
- In the left menu, go to Entra ID → App registrations.
- Click + New registration at the top.
- Fill in the form:
- Name:
Kreditz Client Portal(or any name you prefer — only visible to your Entra admins). - Supported account types: Accounts in this organizational directory only (Single tenant).
- Redirect URI: Select Web and paste the redirect uri copied in Step 1 exactly as shown (including https, path, and trailing slash if present).
- Name:
- Click Register.
You'll be taken to the app's Overview page. Keep this tab open.
Step 3 — Create a Client Secret- In the left menu of the app, click Certificates & secrets.
- Make sure the Client secrets tab is selected, then click + New client secret.
- Fill in:
- Description:
Kreditz Client Portal. - Expires: choose the option compatible with your compliance requirements. You will need to renew this before it expires.
- Description:
- Click Add.
- Copy the secret immediately from the Value column. Once you leave this page, the value cannot be retrieved — only its identifier. If you lose it, create a new secret.
From your Entra app's Overview page, copy two values:
| Where to find it | What it's called in Kreditz |
|---|---|
| Overview → Endpoints → OpenID Connect metadata document | Discovery URL (metadata endpoint) |
| Overview → Essentials → Application (client) ID | Client ID |
Return to the Kreditz SSO configuration tab from Step 1 and paste:
| Kreditz field | Value to paste |
|---|---|
| Discovery URL (metadata endpoint) | OpenID Connect metadata document from Entra |
| Client ID | Application (client) ID from Entra |
| Client Secret | The secret value you copied in Step 3 |
| Allowed email domains | Your organisation's email domain(s), comma-separated (e.g. example.com) |
Save the connection as draft.
Step 5 — Test the Sign-In- In Kreditz, click Test SSO Login on the SSO configuration page.
- You'll be redirected to the Microsoft sign-in screen.
- Sign in with any user from your Entra tenant.
- After successful sign-in, you'll return to Kreditz with a confirmation that the connection works.
If the test fails, the error shown will tell you what to check — most commonly:
- The redirect URI in Entra doesn't exactly match the one Kreditz showed (no trailing slash, must be HTTPS in production).
- The client secret was copied incorrectly or has already expired.
- Press Activate SSO. When entering the email in the login screen you will be able to login using SSO.
- By default, administrators can login with both password and SSO. To enforce SSO, change enforcement mode to Required in SSO settings and place users in a role that lacks the permission “SSO and Standard login”. This can be configured under User Management.
Before the existing secret expires:
- In Entra, go to Certificates & secrets for the Kreditz app and create a new client secret (see Step 3).
- In Kreditz, open the SSO configuration page and paste the new secret value into the Client Secret field. Save.
- Run Test SSO Login to confirm the new secret works.
- Once confirmed, return to Entra and delete the old secret.
Configuring Google Workspace for Kreditz SSO
This guide walks through configuring Google Workspace (via Google Cloud Console) to enable Single Sign-On into the Kreditz Vista. The setup takes about 20 minutes.
Before you start
You'll need:
- In Kreditz: an administrator account with permission to manage organisation Security settings.
- In Google: a Super Admin account for your Workspace domain, or an admin who has been granted access to Google Cloud Console (console.cloud.google.com) for your organisation.
You will move back and forth between the two interfaces during setup, so it helps to keep both open in separate browser tabs.
Unlike some other identity providers, Google publishes a single, fixed discovery URL that is the same for every Workspace customer: https://accounts.google.com/.well-known/openid-configuration. You won't need to copy this value from anywhere — it's given to you directly in Step 5.
Step 1 — Open the SSO Configuration in Kreditz Vista
- Sign in to the Kreditz Vista.
- Open the SSO configuration page (under Settings → Security Settings) by clicking Configure SSO.
- As Identity Provider, select Google Workspace.
- Locate the Redirect URI shown on screen.
- Copy this value. You'll need it in: Section 4 - Create the OAuth Client ID - Step 4.
- Leave Kreditz Vista tab open — you'll return here in section: 5 — Enter the Values into Kreditz - Step 5.
Step 2 — Create a Google Cloud Project
Google Cloud Console groups everything — the consent screen, the OAuth client — inside a "project." This needs to be created (or an existing one selected) before anything else.
- In a new tab, go to console.cloud.google.com and sign in with your Workspace admin account (not a personal Gmail account).
- Click the project selector at the top of the page (it may say "Select a project").
If You Already Have Projects in Google Cloud Console?
If your organisation already uses Google Cloud Console for other purposes, you don't need to reuse an existing project — create a new, dedicated one for this SSO connection to keep things isolated and easy to audit.
Click the project selector at the top of the page, next to the Google Cloud logo (it shows the name of whichever project is currently active, e.g. "Kreditz SSO").
In the dialog that opens ("Select a resource"), click New project (top right).
Continue with the steps below exactly as if starting from scratch — name it, confirm the Organisation field shows your Workspace domain, select a billing account if prompted, and click Create.
Once created, make sure the new project shows as selected in the project selector before continuing — any config from here on (consent screen, OAuth client) needs to be created inside this new project, not whatever project was active before.
A dedicated project per integration is generally good practice — it isolates the blast radius if a client secret ever needs revoking, without affecting anything else running in your Cloud Console.
Jump to point 5 down below. Step 3 & 4 are if no projects exist in Google Cloud Console
- In the dialog that opens, check the dropdown near the top — it may default to "No organisation." Click it and select your Workspace domain (e.g. yourcompany.com) if it appears as an option.
- Click New Project (top right of the dialog).
- Project name: any name works — e.g. "Kreditz SSO." It's only ever visible to your own Cloud Console admins, never to end users.
- If prompted for a Billing account, select an existing one if your organisation has one. Nothing in this setup incurs any billed usage — the OAuth consent screen and client ID are both free — this only satisfies Google's project-creation requirement.
- Check that the Organisation and Parent resource fields show your Workspace domain, not "No organisation." This is the single most important thing to confirm before proceeding — see the warning below.
- Click Create.
⚠️ If the project's Organisation field cannot be set to your Workspace domain (it only offers "No organisation"), the OAuth consent screen's Internal user type won't be available later, and you'll be limited to the more complex External option. This usually means your Google account either isn't a Workspace Super Admin, or your Cloud Identity organisation hasn't been provisioned yet — check with whoever manages your Google Workspace admin console before continuing.
Once created, make sure the new project is selected as the active project (check the name shown at the top of the Cloud Console page).
Step 3 — Configure the OAuth Consent Screen
Google now calls this the "Google Auth Platform." It's the same underlying configuration, presented as a short wizard.
- In the bottom of the screen, press “View all products” and in the new window, find and open Google Auth Platform (if this is the first OAuth client in the project, you may land on a "Get started" screen instead — click Get started). Or if you are going by the left hand menu? Select the “View all products” in the bottom of the menu, then Management → Google Auth Platform
- Step 1 of the wizard, App Information: enter an App name (e.g. "Kreditz Vista SSO") and a User support email (your own admin address is fine). Click Next.
- Step 2, Audience: select Internal. This restricts sign-in to accounts within your own Workspace domain and means you don't need to submit the app for Google's verification process.
- Step 3, Contact Information: enter an email address for Google to notify about any changes to this configuration (your own admin address is fine). Click Next.
- Step 4, Finish: review and agree to Google's terms, then click Create.
If Internal isn't available and only External shows, go back to Step 2 — this is the same signal that the project isn't correctly associated with your Workspace organisation.
Step 4 — Create the OAuth Client ID
- From the OAuth overview page, click Create OAuth client (or open the Clients tab and click Create client).
- Application type: Web application.
- Name: any name works — e.g. "Kreditz Vista SSO." Not shown to end users.
- You'll see two separate URL sections — read carefully, as they look similar but serve different purposes:
- Authorised JavaScript origins — only for browser-side calls directly to Google APIs. Leave this section empty; it is not needed for this setup.
- Authorised redirect URIs — this is the one you need. Click + Add URI and paste the Redirect URI copied from Kreditz in Step 1
- Click Create.
⚠️ A common mistake: pasting the Kreditz redirect URI into the JavaScript origins field instead of the redirect URIs field. Google rejects it with "Invalid origin: URIs must not contain a path or end with '/'" because JavaScript origins only accept a bare domain, not a full path. If you see this error, delete the entry and re-add it under Authorised redirect URIs instead.
- A dialog will show your Client ID and Client Secret. Copy both now.
⚠️ The Client Secret is only shown in full at this moment. If you close this dialog without copying it, you will need to generate a new secret from the client's detail page — the original cannot be retrieved.
Step 5 — Enter the Values into Kreditz
Return to the Kreditz SSO configuration tab from Step 1 and enter the following:
| Kreditz field | Value to enter |
|---|---|
| Discovery URL (metadata endpoint) | https://accounts.google.com/.well-known/openid-configuration — the same fixed value for every Google Workspace customer. |
| Issuer URL | Leave blank. It prefills automatically from the discovery document once saved. |
| Client ID | The Client ID copied in Step 4. |
| Client secret | The Client Secret copied in Step 4. |
| Scopes | openid profile email — the default is correct; no changes needed. |
| Email domains | Your organisation's Workspace domain(s), comma-separated (e.g. example.com). |
⚠️ The most common failure at this stage is simply forgetting to paste the Client Secret before saving. If the test login in Step 6 fails immediately with a server-side error, this is the first thing to check.
Save the connection as draft.
Step 6 — Test the Sign-In
- In Kreditz, click Test SSO Login on the SSO configuration page.
- You'll be redirected to the Google sign-in screen, followed by a consent screen showing the app name, your name, and your email address.
- Click Continue to approve.
- You'll be redirected back to Kreditz. A successful connection shows a confirmation that the login worked.
If the test fails, check the following, in order:
- The Client Secret was actually pasted into Kreditz — the single most common cause of a failure at this step.
- The redirect URI in Google Cloud Console exactly matches the one Kreditz showed (no trailing slash, must be HTTPS).
- The OAuth consent screen's Audience is set to Internal, and you're signing in with an account from your own Workspace domain.
- Google notes changes can take a few minutes to a few hours to fully propagate — if everything above checks out and it still fails, wait a short while and try again.
Step 7 — Activate and Review Roles
- Press Activate SSO. Users entering their email on the login screen will now be able to sign in using SSO.
- By default, administrators can sign in with both password and SSO. To enforce SSO, change enforcement mode to Required in SSO settings and place users in a role that lacks the permission "SSO and Standard login." This can be configured under User Management.
Rotating the Client Secret
Google client secrets don't expire automatically the way some providers' secrets do, but we still recommend rotating them periodically in line with your organisation's security policy:
- In Google Cloud Console, open the Kreditz OAuth client under Google Auth Platform → Clients.
- Generate a new secret. Google allows more than one active secret per client, so the existing connection keeps working while you switch over.
- In Kreditz, open the SSO configuration page and paste the new secret value into the Client Secret field. Save.
- Run Test SSO Login to confirm the new secret works.
- Once confirmed, return to Google Cloud Console and remove the old secret.