Browse Source
Merge pull request #13034 from abpframework/liangshiwei/patch-1
Update OpenIddictDataSeedContributor
pull/13035/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Domain/OpenIddict/OpenIddictDataSeedContributor.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/OpenIddict/OpenIddictDataSeedContributor.cs
|
|
|
@ -90,7 +90,7 @@ public class OpenIddictDataSeedContributor : IDataSeedContributor, ITransientDep |
|
|
|
type: OpenIddictConstants.ClientTypes.Confidential, |
|
|
|
consentType: OpenIddictConstants.ConsentTypes.Implicit, |
|
|
|
displayName: "Web Application", |
|
|
|
secret: configurationSection["MyProjectName_App:ClientSecret"] ?? "1q2w3e*", |
|
|
|
secret: configurationSection["MyProjectName_Web:ClientSecret"] ?? "1q2w3e*", |
|
|
|
grantTypes: new List<string> //Hybrid flow
|
|
|
|
{ |
|
|
|
OpenIddictConstants.GrantTypes.AuthorizationCode, |
|
|
|
|
|
|
|
@ -90,7 +90,7 @@ public class OpenIddictDataSeedContributor : IDataSeedContributor, ITransientDep |
|
|
|
type: OpenIddictConstants.ClientTypes.Confidential, |
|
|
|
consentType: OpenIddictConstants.ConsentTypes.Implicit, |
|
|
|
displayName: "Web Application", |
|
|
|
secret: configurationSection["MyProjectName_App:ClientSecret"] ?? "1q2w3e*", |
|
|
|
secret: configurationSection["MyProjectName_Web:ClientSecret"] ?? "1q2w3e*", |
|
|
|
grantTypes: new List<string> //Hybrid flow
|
|
|
|
{ |
|
|
|
OpenIddictConstants.GrantTypes.AuthorizationCode, |
|
|
|
|