hi
You need to implement these yourself.
hi
You can pass the token to Abp Commercial, and log in to the Abp Commercial after verification the token.
hi
Can you share this project with me? liming.ma@volosoft.com
hi
These angular parts are being researched and developed.
HI
AntiForgery always checks when a request contains authentication cookies (AspNetCore.Identity.Application)
https://docs.abp.io/en/abp/latest/CSRF-Anti-Forgery
how i can return JSON not HTML if an error happened
The default behavior of cookies authentication scheme:
Return HTML(301) when authentication failed, Return 401 when authentication failed if the current request is ajax.
https://github.com/dotnet/aspnetcore/blob/e755f6017c1be34d25c9381af87f50d1b31abe40/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs#L41-L45 https://github.com/abpframework/abp/pull/9940
But nothing happened. When refreshing browser page, user is still login in system.
Do you mean Angular app still have the state?
hi
have you tried a brand new project?
hi
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<AbpAspNetCoreMvcOptions>(options =>
{
options.EnableRazorRuntimeCompilationOnDevelopment = false;
});
}
https://github.com/abpframework/abp/pull/10947
You can set it in the constructor. and this is Entity not DTO.