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

Why is identity server issuer localhost? #99

Closed Removable closed 1 year ago

Removable commented 1 year ago

I created my project using Skoruba.Duende.IdentityServer.Admin.Templates and deployed the solution on my server via docker-compose.

But all the addresses in openid-configuration are localhost (I had already set IssuerUri in the environment with docker-compose.yml):

{"issuer":"http://localhost","jwks_uri":"http://localhost/.well-known/openid-configuration/jwks","authorization_endpoint":"http://localhost/connect/authorize","token_endpoint":"http://localhost/connect/token","userinfo_endpoint":"http://localhost/connect/userinfo","end_session_endpoint":"http://localhost/connect/endsession",...}

So I want to know if there are any configurations I missed, please help me! Thanks in advance!

Removable commented 1 year ago

fixed

Myrdrahl commented 6 months ago

How was this fixed, as we seem to be experiencing the same issue. edit: Not quite acutally.

In the discovery document we have these listings: issuer: mydomain.com jwks_uri: localhost./.well-known/openid-configuration/jwks