cURL
curl --request GET \
--url https://api.rownd.io/applications/{app}/oidc-clients/{client} \
--header 'x-rownd-app-key: <api-key>' \
--header 'x-rownd-app-secret: <api-key>'import requests
url = "https://api.rownd.io/applications/{app}/oidc-clients/{client}"
headers = {
"x-rownd-app-key": "<api-key>",
"x-rownd-app-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-rownd-app-key': '<api-key>', 'x-rownd-app-secret': '<api-key>'}
};
fetch('https://api.rownd.io/applications/{app}/oidc-clients/{client}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rownd.io/applications/{app}/oidc-clients/{client}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rownd-app-key: <api-key>",
"x-rownd-app-secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rownd.io/applications/{app}/oidc-clients/{client}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rownd-app-key", "<api-key>")
req.Header.Add("x-rownd-app-secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rownd.io/applications/{app}/oidc-clients/{client}")
.header("x-rownd-app-key", "<api-key>")
.header("x-rownd-app-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rownd.io/applications/{app}/oidc-clients/{client}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rownd-app-key"] = '<api-key>'
request["x-rownd-app-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "oidc_client_ck9c1glf0100001l2f7z8z9z9",
"app_id": "app_ckl8bcf1g000001l2f7z8z9z9",
"name": "Example OIDC Provider",
"description": "Example OIDC Provider",
"config": {
"allowed_origins": [
"https://example.com"
],
"redirect_uris": [
"https://example.com/callback"
],
"post_logout_uris": [
"https://example.com/logout"
],
"logo_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
"logo_dark_mode_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
"allowed_scopes": [
"openid",
"profile",
"email"
],
"hub_title": "Sign in to My App with Another App",
"hub_dark_mode": "enabled",
"hub_show_logos": true,
"is_pkce_supported": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"credentials": [
{
"name": "Production API Key",
"client_id": "<string>",
"secret": "<string>",
"expires": "2024-12-31T23:59:59Z",
"application": "app_k3y1qwerty12345",
"app_variant_id": "variant_fgy1qw367fty121lm",
"oidc_client_configuration_id": "oidcc_k3y1qwerty12345",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}OpenID Clients
Retrieve an OpenID Connect client
Platform API for retrieving an OIDC client for an application
GET
/
applications
/
{app}
/
oidc-clients
/
{client}
cURL
curl --request GET \
--url https://api.rownd.io/applications/{app}/oidc-clients/{client} \
--header 'x-rownd-app-key: <api-key>' \
--header 'x-rownd-app-secret: <api-key>'import requests
url = "https://api.rownd.io/applications/{app}/oidc-clients/{client}"
headers = {
"x-rownd-app-key": "<api-key>",
"x-rownd-app-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-rownd-app-key': '<api-key>', 'x-rownd-app-secret': '<api-key>'}
};
fetch('https://api.rownd.io/applications/{app}/oidc-clients/{client}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rownd.io/applications/{app}/oidc-clients/{client}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rownd-app-key: <api-key>",
"x-rownd-app-secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rownd.io/applications/{app}/oidc-clients/{client}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rownd-app-key", "<api-key>")
req.Header.Add("x-rownd-app-secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rownd.io/applications/{app}/oidc-clients/{client}")
.header("x-rownd-app-key", "<api-key>")
.header("x-rownd-app-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rownd.io/applications/{app}/oidc-clients/{client}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rownd-app-key"] = '<api-key>'
request["x-rownd-app-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "oidc_client_ck9c1glf0100001l2f7z8z9z9",
"app_id": "app_ckl8bcf1g000001l2f7z8z9z9",
"name": "Example OIDC Provider",
"description": "Example OIDC Provider",
"config": {
"allowed_origins": [
"https://example.com"
],
"redirect_uris": [
"https://example.com/callback"
],
"post_logout_uris": [
"https://example.com/logout"
],
"logo_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
"logo_dark_mode_uri": "https://storage.rownd.io/logo-oidc-client-app_1234_oidcc_5667-filename.png",
"allowed_scopes": [
"openid",
"profile",
"email"
],
"hub_title": "Sign in to My App with Another App",
"hub_dark_mode": "enabled",
"hub_show_logos": true,
"is_pkce_supported": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"credentials": [
{
"name": "Production API Key",
"client_id": "<string>",
"secret": "<string>",
"expires": "2024-12-31T23:59:59Z",
"application": "app_k3y1qwerty12345",
"app_variant_id": "variant_fgy1qw367fty121lm",
"oidc_client_configuration_id": "oidcc_k3y1qwerty12345",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Authorizations
appKey & appSecrethubAccessTokenForRowndApi
The publishable key of your application credentials. (more details)
The private secret of your application credentials. (more details)
Response
200 - application/json
OIDC client retrieved successfully
Unique identifier for the OIDC client
Example:
"oidc_client_ck9c1glf0100001l2f7z8z9z9"
Application identifier associated with the OIDC client
Example:
"app_ckl8bcf1g000001l2f7z8z9z9"
Name of the OIDC client
Example:
"Example OIDC Provider"
Description of the OIDC client
Example:
"Example OIDC Provider"
Show child attributes
Show child attributes
The ISO 8601 date-time that the resource was created
The ISO 8601 date-time that the resource was updated
Credentials associated with the OIDC client
Show child attributes
Show child attributes
⌘I