GET
/
oauth-providers
/
{provider_id}
Get an Identity Provider's data
curl --request GET \
  --url http://localhost:3001/portal-api/oauth-providers/{provider_id} \
  --header 'Authorization: <api-key>'
{
  "Name": "My Keycloak instance",
  "Type": "Keycloak",
  "WellKnownURL": "http://localhost:8080/auth/realms/DCR/clients-registrations/openid-connect",
  "SSLInsecureSkipVerify": false,
  "ID": 1,
  "CreatedAt": "2023-06-25 13:37",
  "UpdatedAt": "2023-06-25 13:37",
  "ClientTypes": [
    {
      "Name": "Server-side application",
      "Description": "Use this client configuration to create server-side applications that don't act on behalf of end-users",
      "ResponseTypes": "code,token",
      "GrantType": "authorization_code,refresh_token,password",
      "TokenEndpointAuthMethod": "client_secret_basic",
      "OktaAppType": "web",
      "ID": 1,
      "CreatedAt": "2023-06-25 13:37",
      "UpdatedAt": "2023-06-25 13:37"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

provider_id
integer
required

UID of this OAuth2.0 provider

Example:

1

Response

OK

ClientTypes
object[]
required

OAuth2.0 client types associated with this Identity Provider

Name
string
required

Name of this Identity Provider

Examples:

"My Keycloak instance"

Type
enum<string>
required

Type of the identity provider. At the moment we support Keycloak, Gluu, and Okta. If your provider is not in the list but it is compliant with the Dynamic Client Registration protocol, select Other.

Available options:
Keycloak,
Gluu,
Okta,
Other
Examples:

"Keycloak"

"Gluu"

"Okta"

"Other"

WellKnownURL
string
required

The well-known endpoint provides metadata about the OpenID Connect Identity Provider, facilitating dynamic client registration by allowing clients to discover configuration details such as registration endpoints automatically. Check documentation of your Identity provider for more information.

Examples:

"http://localhost:8080/auth/realms/DCR/clients-registrations/openid-connect"

SSLInsecureSkipVerify
boolean

If enabled, the portal will ignore failed SSL checks when connecting to the Identity provider

Examples:

false

ID
integer

UID of this Identity Provider

Examples:

1

CreatedAt
string

Timestamp of when this Identity provider was created

Examples:

"2023-06-25 13:37"

UpdatedAt
string

Timestamp of when this Identity provider was created

Examples:

"2023-06-25 13:37"