IdentityServer4.Admin icon indicating copy to clipboard operation
IdentityServer4.Admin copied to clipboard

How to use Skoruba in Blazor hosted App with already existing Identity Server 4?

Open Subiri-7z opened this issue 4 years ago • 0 comments

Hello again,

I want to use Skoruba to manage authentication/authorization on a project which already has identity server. By now, I already modified the databases so that both Skoruba and the Project API can access the same DB, and so that Skoruba has all the tables needed for the administration, audit log, etc. How can I make so that when a user clicks logging they are taken to the Skoruba login page, not the one in the project. In a previous test in an standalone client app I had done it with AddOidcAuthentication method but in this situation I am pretty lost. I have read the page about adding the DbContext in Skoruba by the services.AddDbContexts method but I don't think this would be necessary here, given that I already adapted the databases, but I don't know.

Thank you very much.

Subiri-7z avatar Nov 16 '21 07:11 Subiri-7z