skoruba / Duende.IdentityServer.Admin

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

How to login as admin? #69

Open Tony20221 opened 2 years ago

Tony20221 commented 2 years ago

First of all, I don't see a parameter for the admin user name when setting up a new project. What is the username associated with the adminpassword parameter? I mean adminpassword isthe password for what user?

I had to read more and found out that the username is in the identitydata.json file. So the admin user is 'admin'.

When I try to log in using those credentials, it seems I am logged in as a regular user instead of as an admin. How do I get the UI to show all the admin options? I left the role as 'MyRole'. Do I need to change it?