DT Tech InfoDT Tech Info

      IdentityServer4

      LEARN EASY
      • Home
      • Blog
      • IdentityServer4
      • IdentityServer4 – Wrong Protocol in Discovery Specification

      IdentityServer4 – Wrong Protocol in Discovery Specification

      • Posted by Muthukumar Dharmar
      • Categories IdentityServer4
      • Date October 28, 2020

      Issues when enabling SSL/https protocol with IdentityServer4 running besides Nginx web server.

      Problem:

      OpenId Connect discovery specification endpoint https://authserver.xxxxxxxxxxx.com/.well-known/openid-configuration returns wrong protocol. Refer to the screenshot on the right, it returns endpoints with HTTP protocol instead of HTTPS.

      openid-configuration-issue

      Solution:

      To resolve this issue, we need to apply the server Url in PubicOrigin configuration in IdentityServer options as mentioned in the screenshot below.

      Tag:AspNetCore, IdentityServer, IdentityServer4

      • Share:
      author avatar
      Muthukumar Dharmar
      Over 17 yrs of experience in the IT industry. Skill Set: Angular, RxJS Reactive Programming, AspNet WebApi, WCF, WPF, Azure, etc.,

      Previous post

      ASP.Net Core Server-Side Filtering & Pagination with EF Core
      October 28, 2020

      Next post

      Part 2 - Error Handling Best Practices in Angular
      July 7, 2020

      Leave A Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Search

      Categories

      • Angular
      • Angular PWA
      • ArchiMate
      • AspNet Core – Razor
      • AspNet Core – WebApi
      • Best Practices
      • Design Patterns
      • EF Core
      • Entity Framework
      • IdentityServer4
      • RxJs for Beginners
      • Tips & Tricks
      • Uncategorized
      • Web Development
      • WPF / WPF Core

      Latest Posts

      Azure: Storage Services
      26Sep2024
      Angular Styles – Tips and Tricks
      23Dec2023
      Typescript – Tips and Tricks
      23Dec2023
      logo-eduma-the-best-lms-wordpress-theme

      webadmin@dt-tech.info

      Organization

      • Contact Us

      Links

      • Blogs
      • Gallery

      Recommend

      • Angular
      • RxJS
      • AspNet Core – Razor
      • AspNet Core – WebApi
      • AspNetCore

      Powered by DT Tech.