Okta config
config.json
{
"oidc_providers": {
"okta": {
"display_name": "Sign in with Okta",
"provider_url": "https://trial-776xxxx.okta.com/oauth2/default",
"client_id": "***",
"client_secret": "***",
"redirect_url": "https://semaphore.example.com/api/auth/oidc/okta/redirect/"
}
}
}
IdP-initiated login
To let users start sign-in from the Okta dashboard tile, enable IdP-initiated login for the provider:
config.json
{
"oidc_providers": {
"okta": {
"...": "...",
"allow_idp_initiated": true
}
}
}
Then, in the Okta Admin Console, open your application's General settings and configure the Login section:
-
Set Login initiated by to Either Okta or App (or App Only).
-
Set Initiate login URI to:
https://semaphore.example.com/api/auth/oidc/okta/initiate -
(Optional) Under Application visibility, enable Display application icon to users so the tile appears on the Okta dashboard.
Okta sends the iss and target_link_uri parameters; Semaphore validates iss against your provider_url and starts
a normal Authorization Code flow.
Related GitHub Issues
- #1434 — Help with OIDC Azure AD configuration/debugging
- #1864 — v2.9.56 breaks oidc auth with keycloak
- #1329 — testing oidc_providers
Explore all Okta-related issues →