File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cloudflare-worker/src/routes/system Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ export const setupSystemRoutes = async (router: Router, env: Env) => {
127127 * Request an Auth0 Management API token using the client credentials flow.
128128 * This endpoint requires the `env.ADMIN_AUTH0_PERMISSION` permission.
129129 * The following environment variables must be configured in the Cloudflare Worker:
130- * - AUTH0_CLIENT_ID
131- * - AUTH0_CLIENT_SECRET
130+ * - AUTH0_MANAGEMENT_API_CLIENT_ID
131+ * - AUTH0_MANAGEMENT_API_CLIENT_SECRET
132132 * - AUTH0_DOMAIN
133133 *
134134 * Security note: This route should be limited to administrative users
@@ -141,7 +141,7 @@ export const setupSystemRoutes = async (router: Router, env: Env) => {
141141 * description: |
142142 * Request an Auth0 Management API JWT token using the Client Credentials grant.
143143 * This endpoint requires `ADMIN_AUTH0_PERMISSION` and uses the following
144- * environment variables: `AUTH0_CLIENT_ID `, `AUTH0_CLIENT_SECRET `, and `AUTH0_DOMAIN`.
144+ * environment variables: `AUTH0_MANAGEMENT_API_CLIENT_ID `, `AUTH0_MANAGEMENT_API_CLIENT_SECRET `, and `AUTH0_DOMAIN`.
145145 * Returns a JSON response containing access_token, token_type, and expires_in when successful.
146146 * tags:
147147 * - System
You can’t perform that action at this time.
0 commit comments