Documentation Index
Fetch the complete documentation index at: https://auth0-fix-auth-api-docs-migration-completion.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /users/{user_id}/impersonate
このエンドポイントは、別のユーザーとしてログインするために、偽装URLを取得するのに使用します。トラブルシューティングの際に役立ちます。
備考
- このエンドポイントはグローバルクライアント資格情報でのみ使用できます。
- 本物と偽装のログインを区別するために、偽装ユーザーのプロファイルには偽装される人と偽装する人のプロパティが追加で含まれます。例:
"impersonated": true, "impersonator": {"user_id": "auth0|...", "email": "admin@example.com"}。 - 通常のWebアプリには、
additionalParametersを設定します。その際に、response_typeにはcode、callback_urlにはAuth0が認可コードと一緒にリダイレクトするCallback URL、scopeにはJWTに含めたいJWTクレームを設定します。
Parameters
Response
| Status | Description |
|---|---|
| 200 | 偽装URLを正常に取得しました |