curl --request POST \
--url https://api.mountthor.com/v1/admin/identity/providers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"audiences": [
"api.mountthor.com"
],
"display_name": "GitHub Actions OIDC",
"issuer": "https://token.actions.githubusercontent.com",
"allowed_clock_skew_seconds": 60,
"jwks_document_ref": "<string>",
"jwks_source_type": "discovery",
"jwks_uri": "<string>"
}
'import requests
url = "https://api.mountthor.com/v1/admin/identity/providers"
payload = {
"audiences": ["api.mountthor.com"],
"display_name": "GitHub Actions OIDC",
"issuer": "https://token.actions.githubusercontent.com",
"allowed_clock_skew_seconds": 60,
"jwks_document_ref": "<string>",
"jwks_source_type": "discovery",
"jwks_uri": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
audiences: ['api.mountthor.com'],
display_name: 'GitHub Actions OIDC',
issuer: 'https://token.actions.githubusercontent.com',
allowed_clock_skew_seconds: 60,
jwks_document_ref: '<string>',
jwks_source_type: 'discovery',
jwks_uri: '<string>'
})
};
fetch('https://api.mountthor.com/v1/admin/identity/providers', 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.mountthor.com/v1/admin/identity/providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'audiences' => [
'api.mountthor.com'
],
'display_name' => 'GitHub Actions OIDC',
'issuer' => 'https://token.actions.githubusercontent.com',
'allowed_clock_skew_seconds' => 60,
'jwks_document_ref' => '<string>',
'jwks_source_type' => 'discovery',
'jwks_uri' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/identity/providers"
payload := strings.NewReader("{\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"GitHub Actions OIDC\",\n \"issuer\": \"https://token.actions.githubusercontent.com\",\n \"allowed_clock_skew_seconds\": 60,\n \"jwks_document_ref\": \"<string>\",\n \"jwks_source_type\": \"discovery\",\n \"jwks_uri\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mountthor.com/v1/admin/identity/providers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"GitHub Actions OIDC\",\n \"issuer\": \"https://token.actions.githubusercontent.com\",\n \"allowed_clock_skew_seconds\": 60,\n \"jwks_document_ref\": \"<string>\",\n \"jwks_source_type\": \"discovery\",\n \"jwks_uri\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/identity/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"GitHub Actions OIDC\",\n \"issuer\": \"https://token.actions.githubusercontent.com\",\n \"allowed_clock_skew_seconds\": 60,\n \"jwks_document_ref\": \"<string>\",\n \"jwks_source_type\": \"discovery\",\n \"jwks_uri\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"allowed_clock_skew_seconds": 60,
"audiences": [
"api.mountthor.com"
],
"created_at": "2026-05-25T17:20:00Z",
"display_name": "GitHub Actions OIDC",
"id": "<string>",
"issuer": "https://token.actions.githubusercontent.com",
"issuer_type": "oidc",
"jwks_source_type": "discovery",
"status": "active",
"updated_at": "2026-05-25T17:30:00Z",
"customer_id": "<string>",
"jwks_document_ref": "<string>",
"jwks_uri": "<string>"
}"<string>"Create IdP
Adds an external OIDC issuer to the customer’s trust boundary. The issuer URL is canonicalized on write, and active issuers must be unique per customer.
curl --request POST \
--url https://api.mountthor.com/v1/admin/identity/providers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"audiences": [
"api.mountthor.com"
],
"display_name": "GitHub Actions OIDC",
"issuer": "https://token.actions.githubusercontent.com",
"allowed_clock_skew_seconds": 60,
"jwks_document_ref": "<string>",
"jwks_source_type": "discovery",
"jwks_uri": "<string>"
}
'import requests
url = "https://api.mountthor.com/v1/admin/identity/providers"
payload = {
"audiences": ["api.mountthor.com"],
"display_name": "GitHub Actions OIDC",
"issuer": "https://token.actions.githubusercontent.com",
"allowed_clock_skew_seconds": 60,
"jwks_document_ref": "<string>",
"jwks_source_type": "discovery",
"jwks_uri": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
audiences: ['api.mountthor.com'],
display_name: 'GitHub Actions OIDC',
issuer: 'https://token.actions.githubusercontent.com',
allowed_clock_skew_seconds: 60,
jwks_document_ref: '<string>',
jwks_source_type: 'discovery',
jwks_uri: '<string>'
})
};
fetch('https://api.mountthor.com/v1/admin/identity/providers', 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.mountthor.com/v1/admin/identity/providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'audiences' => [
'api.mountthor.com'
],
'display_name' => 'GitHub Actions OIDC',
'issuer' => 'https://token.actions.githubusercontent.com',
'allowed_clock_skew_seconds' => 60,
'jwks_document_ref' => '<string>',
'jwks_source_type' => 'discovery',
'jwks_uri' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/identity/providers"
payload := strings.NewReader("{\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"GitHub Actions OIDC\",\n \"issuer\": \"https://token.actions.githubusercontent.com\",\n \"allowed_clock_skew_seconds\": 60,\n \"jwks_document_ref\": \"<string>\",\n \"jwks_source_type\": \"discovery\",\n \"jwks_uri\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mountthor.com/v1/admin/identity/providers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"GitHub Actions OIDC\",\n \"issuer\": \"https://token.actions.githubusercontent.com\",\n \"allowed_clock_skew_seconds\": 60,\n \"jwks_document_ref\": \"<string>\",\n \"jwks_source_type\": \"discovery\",\n \"jwks_uri\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/identity/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"audiences\": [\n \"api.mountthor.com\"\n ],\n \"display_name\": \"GitHub Actions OIDC\",\n \"issuer\": \"https://token.actions.githubusercontent.com\",\n \"allowed_clock_skew_seconds\": 60,\n \"jwks_document_ref\": \"<string>\",\n \"jwks_source_type\": \"discovery\",\n \"jwks_uri\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"allowed_clock_skew_seconds": 60,
"audiences": [
"api.mountthor.com"
],
"created_at": "2026-05-25T17:20:00Z",
"display_name": "GitHub Actions OIDC",
"id": "<string>",
"issuer": "https://token.actions.githubusercontent.com",
"issuer_type": "oidc",
"jwks_source_type": "discovery",
"status": "active",
"updated_at": "2026-05-25T17:30:00Z",
"customer_id": "<string>",
"jwks_document_ref": "<string>",
"jwks_uri": "<string>"
}"<string>"Authorizations
Bearer scheme name used by typed customer admin operations.
Body
Request body for POST /v1/admin/identity/providers.
["api.mountthor.com"]
Customer-facing label for the issuer.
200"GitHub Actions OIDC"
OIDC issuer identifier. Stored canonicalized (trailing slash stripped)
so the token iss claim is compared against a single normalized form.
512"https://token.actions.githubusercontent.com"
Permitted clock skew (seconds) when checking exp/nbf/iat.
60
Out-of-band JWKS document reference. Required when jwks_source_type
is stored-jwks.
512discovery (default), https, or stored-jwks.
"discovery"
Explicit JWKS URI. Required when jwks_source_type is https.
512Response
IdP registered
Identity provider detail response.
Clock skew allowed when validating token time claims.
60
Accepted token audiences.
["api.mountthor.com"]
RFC 3339 creation timestamp.
"2026-05-25T17:20:00Z"
Customer-facing IdP label.
"GitHub Actions OIDC"
Stable IdP UUID.
Canonical OIDC issuer URL used to match the token iss claim.
"https://token.actions.githubusercontent.com"
IdP category. Currently oidc.
"oidc"
JWKS resolution mode: discovery, https, or stored-jwks.
"discovery"
IdP lifecycle state. Disabled IdPs cannot mint sessions.
"active"
RFC 3339 update timestamp.
"2026-05-25T17:30:00Z"
Stable UUID for the customer account.
Stored JWKS reference when jwks_source_type is stored-jwks.
Explicit JWKS URI when jwks_source_type is https.