View a custom provider
To view detailed information for a specific provider, use the GET method and the /custom-providers/{providerId} operation. For example, this Curl command returns information about the custom provider with the ID 72f5a17a-3838-4e95-bbc8-5e2e33f0073a:
curl -L -X GET \
'https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/layflfixkxlhgruitref/custom-providers/72f5a17a-3838-4e95-bbc8-5e2e33f0073a' \
-H 'Authorization: Bearer 90Yqubr1_0DvSDtNl8OVtkOyPV6orQspL3ZYCYLzvp_qiTWCVqnGBlnhJcF-gW90'
The returned information will look similar to the following:
{
"_links": {
"collection": {
"href": "https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/hsvgwtngmcsycuerawjj/custom-providers"
},
"self": {
"href": "https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/hsvgwtngmcsycuerawjj/custom-providers/7fad4d59-5ad7-44ee-801a-6d126fa3737c"
}
},
"id": "7fad4d59-5ad7-44ee-801a-6d126fa3737c",
"createdAt": "2021-01-23T00:00:00.000000000Z",
"updatedAt": "2021-02-14T00:00:00.000000000Z",
"title": "Akamai OpenID Connect Provider",
"protocol": "openidconnect",
"ui": {
"icon_url": "https://oidc.akamai.com/icon.png",
"title": "Acme"
},
"auth_url": "https://oidc.akamai.com/authorize",
"token_url": "https://oidc.akamai.com/token",
"profile_url": "https://oidc.akamai.com/userinfo",
"client_id": "339fdbdb-f17c-4ce6-a7d8-0b2c770412de",
"client_secret": "391rQspL3bfghYL091p_qiTWvbnGBh78ln3",
"scopes": [
"openid",
"profile",
"email"
],
"attribute_map": {
"/email": "/email_address",
"/name/familyName": "/last_name",
"/name/givenName": "/first_name"
}
}
Updated over 2 years ago