abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.49k stars 3.36k forks source link

Any plans to move from OpenIddict to Asp .Net Identity 8? #19529

Open BekAllaev opened 2 months ago

BekAllaev commented 2 months ago

Hey community. Regard this discussion on the Stack Overflow - https://stackoverflow.com/questions/77707846/update-or-replacement-for-identity-server-in-abp, ABP now uses OpenIddict for Authentication/Authorization.

Do ABP plans to move to Asp .Net identity 8?

maliming commented 2 months ago

hi

https://github.com/abpframework/abp/issues/11989

BekAllaev commented 2 months ago

Hi @maliming. Thanks for the response. As far as I can see there is only discussion about moving from Identity Server 4 to OpenIddict in the issue that you have mentioned but what about moving from OpenIddict to asp net identity 8. Thanks in advance

maliming commented 2 months ago

hi

The Identity 8 doesn't support all features of OAuth2 protocol.

https://devblogs.microsoft.com/dotnet/whats-new-with-identity-in-dotnet-8/

BekAllaev commented 2 months ago

Got it, thanks @maliming. Is there any tutorial about moving ABP from OpenIddict to asp net identity 8?

I am asking because our team have some problem with publications ABP app to Azure. Azure keep asking certificates for OpenIddict but for now it is enough for us if we use asp net identity 8 that just checks login/password so we can publish our app easily on Azure

maliming commented 2 months ago

hi

Azure keep asking certificates

You can generate a certificate for Azure. https://docs.abp.io/en/abp/latest/Deployment/Configuring-OpenIddict#production-environment

BekAllaev commented 1 month ago

Hey @maliming. I've added Blazor Identity Ui to ABP Blazor web app in this repo - https://github.com/BekAllaev/AbpWebAppAspNetIdentity.

When I navigate to login I can see the login page. It looks like this: image

But then after 10 second I got this screen (You can see "Not Found" message in the left top corner):
image

Do I register identity UI in a wrong way? To be precies I don't register this views I have just added @page "Account/Login" attribute to the top of the razor file where Login Ui is. Here - https://github.com/BekAllaev/AbpWebAppAspNetIdentity/blob/9bf33b4f6c7bcbb6342ae2d95b8cfbe301866ffb/src/BookStore.Blazor/Account/Pages/Login.razor#L1

Do you have any ideas what is wrong here?

maliming commented 1 month ago

hi

Can you share some steps for adding Blazor Identity Ui to a template project?