Rotating your app issues a newDocumentation Index
Fetch the complete documentation index at: https://developers.vendaze.com/llms.txt
Use this file to discover all available pages before exploring further.
client_secret and immediately invalidates the previous one. This is the only way to update your app’s name, description, avatar, redirect URIs, or scopes.
When to rotate
- You need to change the app name, description, or avatar
- You need to add or remove redirect URIs
- You need to request different scopes
- Your
client_secretwas compromised or lost
How it works
Rotation is not an update. It is a re-registration using yourclient_id as proof of ownership. The new credentials are always sent to the email address registered with the app. That email cannot be changed.
Submit the rotation request
Call
POST /v1/auth/rotate-app with your current client_id and the new values you want.Receive new credentials by email
A new
client_secret is generated and sent to the email address registered with the app. The
old secret is invalidated immediately.Rotate via API
Send aPOST to /v1/auth/rotate-app:
client_secret is sent only by email to the address registered with the app and never returned in the API response. Store it securely as soon as you receive it.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
client_id | string | Yes | Current client_id of the app being rotated. |
app_name | string | Yes | New name shown to users on the consent screen. Max 100 chars. |
description | string | No | New description of what your app does. Max 500 chars. |
avatar_url | string | No | HTTPS URL of a WebP image shown on the consent screen. Max 400x400 px. |
redirect_uris | string[] | Yes | New list of HTTPS redirect URIs. Replaces the previous list entirely. |
scopes | string[] | Yes | New list of scopes. Replaces the previous list entirely. |
The registered email address cannot be changed. New credentials are always sent to the original
email used during registration.
What changes after rotation
| Field | After rotation |
|---|---|
client_secret | New value. Sent by email. Update your app. |
| Active user tokens | Revoked only if scopes changed. Unchanged scopes keep sessions active. |
| App name | Updated to the value in the request. |
| Redirect URIs | Replaced by the list in the request. |
| Scopes | Replaced by the list in the request. |
Impact on your users
If you change the scopes, all access tokens and refresh tokens are immediately revoked. The next time a user’s app makes an API call, it will receive a401 Unauthorized. Your app should handle this by redirecting the user through the OAuth flow again.
If you keep the same scopes, active sessions are not affected. Users will not notice the rotation.
Related
Register your app
First-time registration to get your initial credentials.
Authentication
Implement the OAuth 2.1 flow after updating your credentials.