abp icon indicating copy to clipboard operation
abp copied to clipboard

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

Open BekAllaev opened this issue 1 year ago • 7 comments

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?

BekAllaev avatar Apr 13 '24 22:04 BekAllaev

hi

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

maliming avatar Apr 14 '24 01:04 maliming

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

BekAllaev avatar Apr 14 '24 08:04 BekAllaev

hi

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

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

maliming avatar Apr 14 '24 08:04 maliming

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

BekAllaev avatar Apr 14 '24 08:04 BekAllaev

hi

Azure keep asking certificates

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

maliming avatar Apr 15 '24 00:04 maliming

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?

BekAllaev avatar Jun 06 '24 14:06 BekAllaev

hi

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

maliming avatar Jun 10 '24 08:06 maliming