Register SSO Provider
This endpoint is used to register an OIDC provider. This is used to configure the provider and link it to an organization
Authentication
AuthorizationBearer
Bearer token authentication
Request
This endpoint expects an object.
providerId
The ID of the provider. This is used to identify the provider during login and callback
issuer
The issuer URL of the provider
domain
The domain(s) of the provider. For enterprise multi-domain SSO where a single IdP serves multiple email domains, use comma-separated values (e.g., ‘company.com,subsidiary.com,acquired-company.com’)
oidcConfig
samlConfig
organizationId
If organization plugin is enabled, the organization id to link the provider to
overrideUserInfo
Override user info with the provider info. Defaults to false
Response
OIDC provider created successfully
issuer
The issuer URL of the provider
domain
The domain of the provider, used for email matching
oidcConfig
OIDC configuration for the provider
userId
ID of the user who registered the provider
providerId
Unique identifier for the provider
redirectURI
The redirect URI for the provider callback
domainVerified
A boolean indicating whether the domain has been verified or not
domainVerificationToken
Domain verification token. It can be used to prove ownership over the SSO domain
organizationId
ID of the linked organization, if any
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error