OIDC has a "Well Known Configuration" page that is commonly hosted by the Identity Provider (IDP), also called a Discovery Document. I am trying to figure out Microsoft.Identity.Web
and can't seem to find a way to read in the discovery document using that framework.
I currently am using the IdentityModel.Client
code. It has a way to get the Discovery document.
It seems odd that Microsoft.Idetntity
would not have a similar feature, but maybe Microsoft thought that everyone would fit in the "happy path" of just calling AddMicrosoftIdentityWebApi
and not need the discovery document.