Get the gateway certificate
import requests
url = "https://{FUSION HOST}/api/oauth2/certificate"
response = requests.get(url)
print(response.text){
"keys": [
{
"kty": "RSA",
"use": "sig",
"kid": "1b94c",
"n": "0vx7...",
"e": "AQAB",
"alg": "RS256"
}
]
}Fetch the certificate, if configured, which can be use to validate the signatures of JWT or SAML requests.
GET
/
oauth2
/
certificate
Get the gateway certificate
import requests
url = "https://{FUSION HOST}/api/oauth2/certificate"
response = requests.get(url)
print(response.text){
"keys": [
{
"kty": "RSA",
"use": "sig",
"kid": "1b94c",
"n": "0vx7...",
"e": "AQAB",
"alg": "RS256"
}
]
}Response
200 - */*
OK
The response is of type object.
Was this page helpful?
⌘I