Browse Source
Merge pull request #13870 from abpframework/cli-openiddict
Update abp cli client configuration.
pull/13878/head
Engincan VESKE
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Auth/AuthService.cs
|
|
|
@ -74,9 +74,9 @@ public class AuthService : IAuthService, ITransientDependency |
|
|
|
{ |
|
|
|
var configuration = new IdentityClientConfiguration( |
|
|
|
CliUrls.AccountAbpIo, |
|
|
|
"role email abpio abpio_www abpio_commercial offline_access", |
|
|
|
"abpio offline_access", |
|
|
|
"abp-cli", |
|
|
|
"1q2w3e*", |
|
|
|
null, |
|
|
|
OidcConstants.GrantTypes.Password, |
|
|
|
userName, |
|
|
|
password |
|
|
|
@ -96,9 +96,9 @@ public class AuthService : IAuthService, ITransientDependency |
|
|
|
{ |
|
|
|
var configuration = new IdentityClientConfiguration( |
|
|
|
CliUrls.AccountAbpIo, |
|
|
|
"role email abpio abpio_www abpio_commercial openid offline_access", |
|
|
|
"abpio offline_access", |
|
|
|
"abp-cli", |
|
|
|
"1q2w3e*", |
|
|
|
null, |
|
|
|
OidcConstants.GrantTypes.DeviceCode |
|
|
|
); |
|
|
|
|
|
|
|
|