Create an external identity provider.
POST
/api/admin/external-providers
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/external-providers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "provider_key": "google", "display_name": "Google", "issuer": "https://accounts.google.com" }'Forwards the request body to the configured External IdP Bridge provider creation endpoint. If the bridge is not configured, returns a service-unavailable error.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
Body forwarded to the configured External IdP Bridge admin endpoint.
object
key
additional properties
Example
{ "provider_key": "google", "display_name": "Google", "issuer": "https://accounts.google.com"}Responses
Section titled “ Responses ”Response proxied from the External IdP Bridge.
Media type application/json
JSON body returned by the configured External IdP Bridge admin endpoint.
object
key
additional properties
Example generated
{ "additionalProperty": "example"}Response proxied from the External IdP Bridge.
Media type application/json
JSON body returned by the configured External IdP Bridge admin endpoint.
object
key
additional properties
Example generated
{ "additionalProperty": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}