Skip to content

Commit

Permalink
feat(jans-auth-server): support unmet_authentication_requirements err…
Browse files Browse the repository at this point in the history
…or code #7900

Signed-off-by: YuriyZ <yzabrovarniy@gmail.com>
  • Loading branch information
yuriyz committed Apr 1, 2024
1 parent c71ca5a commit 65ffc8d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
*/
public enum AuthorizeErrorResponseType implements IErrorType {

/**
* The Authorization Server is unable to meet the requirements of the Relying Party for
* the authentication of the End-User. OP is unable to use acr specified in request.
*/
UNMET_AUTHENTICATION_REQUIREMENTS("unmet_authentication_requirements"),

/**
* "request" parameter is supported by AS. But if it's switched off in configuration by setting
* requestParameterSupported=false then this error is returned from authorization endpoint.
Expand Down
5 changes: 5 additions & 0 deletions jans-auth-server/server/conf/jans-errors.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"authorize":[
{
"id": "unmet_authentication_requirements",
"description": "The Authorization Server is unable to meet the requirements of the Relying Party for the authentication of the End-User. OP is unable to use acr specified in request.",
"uri": null
},
{
"id":"invalid_request",
"description":"The request is missing a required parameter, includes an unsupported parameter or parameter value, or is otherwise malformed.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"authorize":[
{
"id": "unmet_authentication_requirements",
"description": "The Authorization Server is unable to meet the requirements of the Relying Party for the authentication of the End-User. OP is unable to use acr specified in request.",
"uri": null
},
{
"id":"invalid_request",
"description":"The request is missing a required parameter, includes an unsupported parameter or parameter value, or is otherwise malformed.",
Expand Down

0 comments on commit 65ffc8d

Please sign in to comment.