skoruba / Duende.IdentityServer.Admin

The administration for the Duende IdentityServer and Asp.Net Core Identity ⚡
Apache License 2.0
556 stars 194 forks source link

Override Account Login #114

Open mrreddevil2412 opened 1 year ago

mrreddevil2412 commented 1 year ago

I want to use my own database, without using asp.net UserIdentity. How do I do? Thanks bro!

skoruba commented 1 year ago

Hi, you can use your implementation of IdentityServer and Login page - STS project is only for example how to everything connected together.

mrreddevil2412 commented 1 year ago

Hi bro, can you help me MY CODE

image image

After getting the user But the system does not redirect itself to the destination url

skoruba commented 1 year ago

Take a look at this article: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-7.0

mrreddevil2412 commented 1 year ago

I was able to get out the user account, but after successful login the system does not redirect to the consent url. So how can I redirect to grant access.

image