Last updated: September 23, 2026

Update OAuth/OIDC App

Update OAuth/OIDC App. OAuth app <uuid>, not <app-uuid>

Request

PUThttps://superadminuser.miniorange.in/services/api/apps/v1/openid/:appUuid

Authentication headers (required on every request)

Customer-Key
Super Admin ID for the actor account.
Timestamp
Milliseconds since epoch (e.g. Date.now()).
Authorization
SHA-512 of superAdminId + timestamp + apiKey.
X-Target-Customer-Id
Customer tenant the Super Admin is acting on.

Parameters

NameTypeRequiredDescription
appUuidStringRequiredOAuth app <uuid>, not <app-uuid>
applicationNameStringOptional
clientNameStringOptional
clientDescStringOptional
redirectUrlsStringOptional
allowedLogoutUrlsStringOptional
clientIdStringOptional
clientSecretStringOptional
accessTokenExpiryNumberOptional
jwtExpiryNumberOptional
refreshTokenExpiryNumberOptional
subjectStringOptional
subjectAttributeValueStringOptional
algoStringOptional
ssoFlowsStringOptional
forceAuthnStringOptional
sloEnabledStringOptional
createDefaultPolicyStringOptional
showOnEndUserDashboardStringOptional
isCustomerIdpEnabledStringOptional
isMultivaluedAttributesEnabledStringOptional
isSharedAccountStringOptional
customerScopesStringOptional
customLoginPageUrlStringOptional
identitySourceStringOptional
attributeMappingsStringOptional

Request body

{
    "applicationName": "OAuth2/OpenID Connect",
    "clientName": "My OAuth App Updated",
    "clientDesc": "Updated description",
    "redirectUrls": [
        "https://myapp.example.com/callback",
        "https://myapp.example.com/auth/v2/callback"
    ],
    "allowedLogoutUrls": [
        "https://myapp.example.com/logout"
    ],
    "clientId": "<existing-client-id>",
    "clientSecret": "<existing-client-secret>",
    "accessTokenExpiry": 2,
    "jwtExpiry": 1,
    "refreshTokenExpiry": 30,
    "subject": "EMAIL",
    "subjectAttributeValue": null,
    "algo": "RSA-SHA256",
    "ssoFlows": "idp",
    "forceAuthn": false,
    "sloEnabled": true,
    "createDefaultPolicy": false,
    "showOnEndUserDashboard": false,
    "isCustomerIdpEnabled": false,
    "isMultivaluedAttributesEnabled": false,
    "isSharedAccount": false,
    "customerScopes": "openid,profile,email",
    "customLoginPageUrl": null,
    "identitySource": null,
    "attributeMappings": [
        {
            "attributeName": "email",
            "attributeType": "MINIORANGE",
            "attributeValue": "EMAIL"
        },
        {
            "attributeName": "firstName",
            "attributeType": "MINIORANGE",
            "attributeValue": "FIRST_NAME"
        },
        {
            "attributeName": "lastName",
            "attributeType": "MINIORANGE",
            "attributeValue": "LAST_NAME"
        }
    ]
}

No sample response is documented for this endpoint yet. Use Try it on the right to see the live response from your tenant.

Copied