curl --request GET \
--url https://api.example.com/v1/idps/{idp}{
"name": "<string>",
"title": "<string>",
"domain": "<string>",
"type": "IDENTITY_PROVIDER_TYPE_UNSPECIFIED",
"config": {
"oauth2Config": {
"authUrl": "<string>",
"tokenUrl": "<string>",
"userInfoUrl": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": [
"<string>"
],
"fieldMapping": {
"identifier": "<string>",
"displayName": "<string>",
"phone": "<string>",
"groups": "<string>"
},
"skipTlsVerify": true,
"authStyle": "OAUTH2_AUTH_STYLE_UNSPECIFIED"
},
"oidcConfig": {
"issuer": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": [
"<string>"
],
"fieldMapping": {
"identifier": "<string>",
"displayName": "<string>",
"phone": "<string>",
"groups": "<string>"
},
"skipTlsVerify": true,
"authStyle": "OAUTH2_AUTH_STYLE_UNSPECIFIED",
"authEndpoint": "<string>"
},
"ldapConfig": {
"host": "<string>",
"port": 123,
"skipTlsVerify": true,
"bindDn": "<string>",
"bindPassword": "<string>",
"baseDn": "<string>",
"userFilter": "<string>",
"securityProtocol": "SECURITY_PROTOCOL_UNSPECIFIED",
"fieldMapping": {
"identifier": "<string>",
"displayName": "<string>",
"phone": "<string>",
"groups": "<string>"
}
}
}
}Gets an identity provider by name. Permissions required: bb.identityProviders.get
curl --request GET \
--url https://api.example.com/v1/idps/{idp}{
"name": "<string>",
"title": "<string>",
"domain": "<string>",
"type": "IDENTITY_PROVIDER_TYPE_UNSPECIFIED",
"config": {
"oauth2Config": {
"authUrl": "<string>",
"tokenUrl": "<string>",
"userInfoUrl": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": [
"<string>"
],
"fieldMapping": {
"identifier": "<string>",
"displayName": "<string>",
"phone": "<string>",
"groups": "<string>"
},
"skipTlsVerify": true,
"authStyle": "OAUTH2_AUTH_STYLE_UNSPECIFIED"
},
"oidcConfig": {
"issuer": "<string>",
"clientId": "<string>",
"clientSecret": "<string>",
"scopes": [
"<string>"
],
"fieldMapping": {
"identifier": "<string>",
"displayName": "<string>",
"phone": "<string>",
"groups": "<string>"
},
"skipTlsVerify": true,
"authStyle": "OAUTH2_AUTH_STYLE_UNSPECIFIED",
"authEndpoint": "<string>"
},
"ldapConfig": {
"host": "<string>",
"port": 123,
"skipTlsVerify": true,
"bindDn": "<string>",
"bindPassword": "<string>",
"baseDn": "<string>",
"userFilter": "<string>",
"securityProtocol": "SECURITY_PROTOCOL_UNSPECIFIED",
"fieldMapping": {
"identifier": "<string>",
"displayName": "<string>",
"phone": "<string>",
"groups": "<string>"
}
}
}
}The idp id.
OK
The name of the identity provider. Format: idps/{idp}
The display title of the identity provider.
The domain for email matching when using this identity provider.
The type of identity provider protocol.
IDENTITY_PROVIDER_TYPE_UNSPECIFIED, OAUTH2, OIDC, LDAP The configuration details for the identity provider.
Show child attributes
OAuth2 protocol configuration.
Show child attributes
The authorization endpoint URL for OAuth2 flow.
The token endpoint URL for exchanging authorization code.
The user information endpoint URL.
The OAuth2 client identifier.
The OAuth2 client secret for authentication.
The list of OAuth2 scopes to request.
Mapping configuration for user attributes from OAuth2 response.
Show child attributes
Identifier is the field name of the unique identifier in 3rd-party idp user info. Required.
DisplayName is the field name of display name in 3rd-party idp user info. Optional.
Phone is the field name of primary phone in 3rd-party idp user info. Optional.
Groups is the field name of groups in 3rd-party idp user info. Optional. Mainly used for OIDC: https://developer.okta.com/docs/guides/customize-tokens-groups-claim/main/
Whether to skip TLS certificate verification.
The authentication style for client credentials.
OAUTH2_AUTH_STYLE_UNSPECIFIED, IN_PARAMS, IN_HEADER OIDC protocol configuration.
Show child attributes
The OIDC issuer URL for the identity provider.
The OIDC client identifier.
The OIDC client secret for authentication.
The scopes that the OIDC provider supports. Should be fetched from the well-known configuration file of the OIDC provider.
Mapping configuration for user attributes from OIDC claims.
Show child attributes
Identifier is the field name of the unique identifier in 3rd-party idp user info. Required.
DisplayName is the field name of display name in 3rd-party idp user info. Optional.
Phone is the field name of primary phone in 3rd-party idp user info. Optional.
Groups is the field name of groups in 3rd-party idp user info. Optional. Mainly used for OIDC: https://developer.okta.com/docs/guides/customize-tokens-groups-claim/main/
Whether to skip TLS certificate verification.
The authentication style for client credentials.
OAUTH2_AUTH_STYLE_UNSPECIFIED, IN_PARAMS, IN_HEADER The authorization endpoint of the OIDC provider. Should be fetched from the well-known configuration file of the OIDC provider.
LDAP protocol configuration.
Show child attributes
Host is the hostname or IP address of the LDAP server, e.g., "ldap.example.com".
Port is the port number of the LDAP server, e.g., 389. When not set, the default port of the corresponding security protocol will be used, i.e. 389 for StartTLS and 636 for LDAPS.
SkipTLSVerify controls whether to skip TLS certificate verification.
BindDN is the DN of the user to bind as a service account to perform search requests.
BindPassword is the password of the user to bind as a service account.
BaseDN is the base DN to search for users, e.g., "ou=users,dc=example,dc=com".
UserFilter is the filter to search for users, e.g., "(uid=%s)".
SecurityProtocol is the security protocol to be used for establishing connections with the LDAP server.
SECURITY_PROTOCOL_UNSPECIFIED, START_TLS, LDAPS FieldMapping is the mapping of the user attributes returned by the LDAP server.
Show child attributes
Identifier is the field name of the unique identifier in 3rd-party idp user info. Required.
DisplayName is the field name of display name in 3rd-party idp user info. Optional.
Phone is the field name of primary phone in 3rd-party idp user info. Optional.
Groups is the field name of groups in 3rd-party idp user info. Optional. Mainly used for OIDC: https://developer.okta.com/docs/guides/customize-tokens-groups-claim/main/
Was this page helpful?