Skip to content

Commit

Permalink
fix(jans-auth-server): if consent is off then check whether response …
Browse files Browse the repository at this point in the history
…already have code

#736
  • Loading branch information
yuriyz committed Jan 31, 2022
1 parent 9e3bf69 commit 294bb22
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,9 @@ protected String acceptAuthorization(WebDriver currentDriver, String redirectUri
authorizationResponseStr = waitForPageSwitch(currentDriver, authorizationResponseStr);
}
} else {
if (authorizationResponseStr.contains("#code=")) {
return authorizationResponseStr;
}
fail("The authorization form was expected to be shown.");
}

Expand Down

0 comments on commit 294bb22

Please sign in to comment.