You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version of Duende IdentityServer are you using?
6 Which version of .NET are you using?
8 Describe the bug
A clear and concise description of what you expected to happen.
Failures caused by transient dependency faults in token endpoint are handled by Identity Server and not overridden with own error handling. Response should therefore honour OIDC error spec.
Additional context
Add any other context about the problem here.
I'm currently trying out identity server in my personal project. Asking for some guidance when getting 500 error and a valid request is made to Post /auth/connect/token endpoint the response should be in json response compliant with OIDC error spec and also a redirect to error page.
public class ErrorController : Controller
{
public const string Route = "identity/error";
There is typically no direct user involvement during Interaction with the token endpoint. With authorization code flow e.g. it is used to exchange the code for an actual token with a backchannel request.
So the response in case of an error should not be an error page as opposed to interaction with the authorization endpoint where we do show an error page for user-related errors.
Does this help? If not could you please provide some more details on the use case?
Which version of Duende IdentityServer are you using?
6
Which version of .NET are you using?
8
Describe the bug
A clear and concise description of what you expected to happen.
Failures caused by transient dependency faults in token endpoint are handled by Identity Server and not overridden with own error handling. Response should therefore honour OIDC error spec.
Additional context
Add any other context about the problem here.
I'm currently trying out identity server in my personal project. Asking for some guidance when getting 500 error and a valid request is made to Post /auth/connect/token endpoint the response should be in json response compliant with OIDC error spec and also a redirect to error page.
public class ErrorController : Controller
{
public const string Route = "identity/error";
}
public IdentityServerInteractionError(ErrorMessage error)
{
ErrorCode = error.Error;
Description = error.ErrorDescription;
ClientId = error.ClientId;
RequestId = error.RequestId;
}
}
[Test]
//[Ignore("Under investigation AB#917551")]
public void Given_AuthCodeStoreIsUnavailable_When_TokenEndpointIsRequestedInAuthCodeFlow_Then_RespondWithOIDCError()
{
Given.AuthorizationCodesStore.Mock
.ReadAsync(Arg.Any(), Arg.Any())
.ThrowsAsync(new Exception("Code store unavailable"));
The text was updated successfully, but these errors were encountered: