The organization's single sign-on configuration
curl --request GET \
--url https://app.trustivan.com/api/v1/identity/provider \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/identity/provider"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/identity/provider', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/identity/provider"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}The organization's single sign-on configuration
The client secret is never included, in any form. There is no read path for it: it is written once and only ever decrypted inside the process that authenticates to the identity provider.
The response also carries the ACS URL, entity ID and redirect URI an administrator must register with their identity provider. Served rather than documented, so the values a customer registers are the ones this deployment actually uses.
GET
/
identity
/
provider
The organization's single sign-on configuration
curl --request GET \
--url https://app.trustivan.com/api/v1/identity/provider \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/identity/provider"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/identity/provider', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/identity/provider"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Response
The configuration, or null when SSO is not set up.