hi
Please share the source code of your Auth server module(MyProjectNameAuthServerModule-http://localhost:44322)
liming.ma@volosoft.com
hi
You can add OpenIdConnect as authentication to your new app and then add a new client/application on the Authserver project.
See https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/MyProjectNameWebModule.cs#L142-L213
: )
Is your problem solved?
hi
I Created Project from abp suite with separate tenant schema and Tiered as Auth Server i created another project with Application Template .
There is a Web host project in MVC tiered projects. which uses AddAbpOpenIdConnect in it.
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/MyProjectNameWebModule.cs#L142-L213
You can check this project.
hi
Angular needs to read the claims from the access token, so we disabled it.
but you can enable it by setting DisableAccessTokenEncryption to false.
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<OpenIddictServerBuilder>(builder =>
{
builder.Configure(openIddictServerOptions =>
{
openIddictServerOptions.DisableAccessTokenEncryption = false;
});
}
}
hi
The first one is that after logging in, the CurrentUser data is filled correctly but the phone is Null !
Please check the value of AbpClaimTypes.PhoneNumber and AbpClaimTypes.PhoneNumberVerified.
And check the Claim[] GetAllClaims of ICurrentUser
the result is "unsupported grant_type",
Please share the HTTP request and response info and logs.
Thanks.
hi
How can I reproduce this in a new template project? Please share the steps, Thanks
hi
Try to add @abp/zxcvbn to your package.json and then re-run abp install-libs.