Discovery endpoint retrieval problem
See original GitHub issueHi. We have a problem with discovery document endpoint. Steps:
- Stop the IdentityProvider site.
- Start application which use IdentityProvider authentication
- Make a request to application
- Start the IdentityProvider site.
- Make the request again
Expected result
Step 3 fails with
System.InvalidOperationException: Error parsing discovery document from http://localhost:9090/.well-known/openid-configuration: Error connecting to http://localhost:9090/.well-known/openid-configuration: An error occurred while sending the request. at IdentityModel.AspNetCore.OAuth2Introspection.PostConfigureOAuth2IntrospectionOptions.<GetIntrospectionEndpointFromDiscoveryDocument>d__3.MoveNext()
Step 5 succeeds, because IdentityServer is up and running again and metadata can be retrieved.
Actual result: All subsequent requests fail with the same exception. There is no retry behavior for retrieving discovery endpoint metadata, only restart application can help.
Screenshoot with error:
IdentityServer authentication settings:
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Pull request submitted: #29
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.