hi
It has nothing to do with identity server or openiddict.
AzureAD is just an external login of asp net core.
You just need to add it to your auth server project.
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/azure-active-directory/?view=aspnetcore-7.0 https://learn.microsoft.com/en-us/samples/azure-samples/active-directory-aspnetcore-webapp-openidconnect-v2/active-directory-aspnetcore-webapp-openidconnect-v2/ https://learn.microsoft.com/en-us/aspnet/core/security/authentication/social/microsoft-logins?view=aspnetcore-7.0
hi
You can implement your basic authentication.
https://www.google.com/search?q=asp+net+core+basic+authentication
https://damienbod.com/2023/01/23/basic-authentication-in-asp-net-core/
hi
I will implement it in the next version. 👍
https://github.com/abpframework/abp/issues/16557
hi
I guess https://github.com/manfredsteyer/angular-oauth2-oidc can do this. I will ask our angular team.
hi
The AbpPermissions and AbpPermissionGroups are used with Dynamic permissions
hi
I will find a way to resolve this. Thanks
HTTP 400
This is an error coming from Antiforgery token validation
, We can't show "Email already sent:".
to user.
Antiforgery token validation failed. The antiforgery cookie token and request token do not match.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery cookie token and request token do not match.
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet)
at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext)
at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
hi
Please resolve the 500 error first.
HTTP 500.30
https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?WT.mc_id=DT-MVP-5003202&view=aspnetcore-7.0#50030-in-process-startup-failure
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/logging-and-diagnostics?view=aspnetcore-7.0
https://blog.elmah.io/http-error-500-30-asp-net-core-app-failed-to-start-help/
hi
You can remove the tenant related code and MyProjectNameTenantDatabaseMigrationHandler
.
hi
throwing BusinessException or UserFriendlyException causes a 403 response.
This is the default behavior.
https://docs.abp.io/en/abp/latest/Exception-Handling#http-status-code-mapping
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/ExceptionHandling/DefaultHttpExceptionStatusCodeFinder.cs#L70-L73