Configuration
Configure Elsa External Authentication connections, clients, callback URLs, secret bindings, identity policy, and permission mapping.
Minimal OpenID Connect configuration
{
"ExternalAuthentication": {
"Redirects": {
"ExternalCallbackBaseUri": "https://elsa.example.com/elsa/api/"
},
"AuthenticationClients": [
{
"clientId": "elsa-studio-server",
"displayName": "Elsa Studio Server",
"clientType": "confidential",
"callbackUris": [
"https://studio.example.com/authentication/external/callback"
],
"logoutCallbackUris": [
"https://studio.example.com/authentication/external/logout-callback"
],
"allowedReturnPathPrefixes": ["/"],
"secretBinding": {
"ownership": "external",
"resolverType": "configuration",
"reference": "Secrets:ExternalAuthentication:StudioServerClientSecret"
},
"isEnabled": true
}
],
"Connections": [
{
"id": "contoso-workforce-configuration",
"key": "contoso-workforce",
"adapterType": "openid-connect",
"adapterSettingsVersion": 2,
"adapterSettings": {
"mode": "discovery",
"discoveryUrl": "https://login.example.com/.well-known/openid-configuration",
"clientId": "elsa-server-at-contoso",
"clientAuthenticationMethod": "client_secret_basic",
"scopes": ["profile", "email", "groups"]
},
"secretBindings": {
"clientSecret": {
"ownership": "external",
"resolverType": "configuration",
"reference": "Secrets:ExternalAuthentication:ContosoProviderClientSecret",
"expectedType": "text",
"expectedScope": "external-authentication"
}
},
"displayName": "Contoso Workforce",
"iconId": "building",
"displayOrder": 10,
"isPreferred": true,
"isEnabled": true,
"unlinkedPolicy": {
"type": "reject",
"settingsVersion": 1,
"settings": {}
},
"claimProjection": {
"allowedClaimTypes": ["name", "email", "groups"],
"redactedClaimTypes": ["email"],
"maximumClaimCount": 50,
"maximumValueLength": 2048,
"maximumTotalBytes": 32768
},
"upstreamLogoutMode": "disabled"
}
]
}
}Authentication Clients
Callbacks and provider registration
OIDC adapter settings
Identity resolution, claims, and permissions
Unlinked identities
Claim projection and grant sources
Connection ownership and overrides
Operational configuration
Last updated