Identityserver4.admin: Newbee question :)

Created on 9 Nov 2018  路  14Comments  路  Source: skoruba/IdentityServer4.Admin

Tnxs for a super project.
I am just starting playing around with it but i have 1 question.
My start screen in the admin project is not the same as in the readme section.
Am i missing something ?
image

question

All 14 comments

Hi @gwinnem
Please - try to Set Startup projects in Visual Studio:

  • Skoruba.IdentityServer4.Admin
  • Skoruba.IdentityServer4.STS.Identity

And then run it and try to access Admin UI on http://localhost:9000 - you should be redirected to IdentityServer4 instance - it is the screenshot as you have posted above.
And there you will be ask for putting the username and password. :)
Please take a look at Readme - Access Layer and EF Core section - migrations etc.

If you will have any issues, let me know.
Thanks.

Thank you for the quick reply.

Another question, sorry for this
I am logged in but getting this error msg. I have not done anything to the database exept running the seed.
image

Could you please - check in your database if the client redirect uri is set up correctly? Take a look at table ClientRedirectUri and compare with url in the auth request.
Thanks

As far as i managed to see, both of the values are http://localhost:9000/signin-oidc

Thas is correct. ClientId for Admin is set as a default? skoruba_identity_admin? If I remember correctly :))
Maybe please try run STS in console app and check the console log for this error.
Thanks!

Found the issue, the IdentityAdminRedirectUri in appsettings was wrong. :) Pointing to port 5000 instead of 9000

Great catch! :)

Another tip, if someone do not want to see the identityserver page, set
"launchBrowser": false,
In the Skoruba.IdentityServer4.STS.Identity launchSettings.json

Good tip, I didn鈥檛 know it :)

Then the server launches without launching the browser :)

Is there a easy way to use email instead of username as login ?

I guess you could fill in the email as the username in the username-field. That should work.

You can check progress of using email instead of username as login in #139

Was this page helpful?
0 / 5 - 0 ratings

Related issues

weedkiller picture weedkiller  路  4Comments

papyr picture papyr  路  3Comments

Mehrdad-Davoudi picture Mehrdad-Davoudi  路  4Comments

imabdul-dev picture imabdul-dev  路  4Comments

adeelansari picture adeelansari  路  4Comments