Hi,
we plan release the patch version today https://github.com/abpframework/abp/issues/20172
hi,
This is not included in Volo.Abp.LeptonXTheme.Pro
.
i can share it with you via email if you need.
Could you please use a new project to reproduce the problem and share it with me? i will check it , thanks shiwei.liang@volosoft.com
Sorry, should be your AuthServer URL
And make sure ValidIssuer
and Issuer
are the same.
ValidIssuer can be an array.
options.TokenValidationParameters = new TokenValidationParameters()
{
ValidIssuers = new []{"https://myauthserver.com","http://docker-service-name"}
};
I could not reproduce the problem.
Hi,
https://abp.io/docs/latest/tutorials/book-store/part-09?UI=Blazor&DB=EF
Update the namespace to namespace Acme.BookStore.Blazor.Client.Pages;
Is there a way to always enable Microsoft login instead of having to log in first and then enable and configure the client ID and secure
yes, you can configure it by code.
public class YourSettingDefinitionProvider : SettingDefinitionProvider
{
public override void Define(ISettingDefinitionContext context)
{
context.GetOrNull("Abp.Account.IsSelfRegistrationEnabled").DefaultValue = "false";
context.GetOrNull("Abp.Account.EnableLocalLogin").DefaultValue = "false";
}
}
.AddMicrosoftAccount(MicrosoftAccountDefaults.AuthenticationScheme, options =>
{
//Personal Microsoft accounts as an example.
options.AuthorizationEndpoint = "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize";
options.TokenEndpoint = "https://login.microsoftonline.com/consumers/oauth2/v2.0/token";
options.ClaimActions.MapCustomJson("picture", _ => "https://graph.microsoft.com/v1.0/me/photo/$value");
options.SaveTokens = true;
options.ClientId = xxxx;
options.ClientSecret = xxxx;
})
//.WithDynamicOptions<MicrosoftAccountOptions, MicrosoftAccountHandler>(
// MicrosoftAccountDefaults.AuthenticationScheme,
// options =>
// {
// options.WithProperty(x => x.ClientId);
// options.WithProperty(x => x.ClientSecret, isSecret: true);
// }
//)
hi
https://abp.io/support/questions/7458/Abp-820-Hangfire-errror-with-redis-db#answer-3a1392c1-9efc-888a-acae-14a9415640ce
Hi,
yes, we will fix it in the next patch version