Browse Source

Update impersonation.md

pull/21051/head
maliming 2 years ago
committed by GitHub
parent
commit
4bc6809e79
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 22
      docs/en/modules/account/impersonation.md

22
docs/en/modules/account/impersonation.md

@ -258,6 +258,28 @@ if (!consoleAndAngularClientId.IsNullOrWhiteSpace())
}
```
Add `impersonation: { userImpersonation: true, tenantImpersonation: true}` object to `oAuthConfig` of `environment`.
```cs
export const environment = {
production: false,
application: {
baseUrl,
name: 'MyProjectName',
},
oAuthConfig: {
issuer: 'https://localhost:44305/',
clientId: 'MyProjectName_App',
scope: 'offline_access MyProjectName',
redirectUri: baseUrl,
// responseType: 'code',
impersonation: {
userImpersonation: true,
tenantImpersonation: true,
},
},
```
### Blazor WASM
It is currently not supported.

Loading…
Cancel
Save