Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit 157b02b

Browse files
author
Richard Blaylock
committed
1258 - Remove extraneous oauth error fields for factor_challenge responses.
1 parent c8b112d commit 157b02b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

extensions/servlet/src/main/java/com/stormpath/sdk/servlet/mvc/AccessTokenController.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,7 @@ private OAuthException convertToOAuthException(ResourceException resourceExcepti
368368
}
369369
else if ("factor_challenge".equals(action)) {
370370
exposeOAuthErrorProperty(errorMap, defaultError, OAUTH_RESPONSE_STATE);
371-
exposeOAuthErrorProperty(errorMap, defaultError, OAUTH_RESPONSE_ALLOWED_FACTOR_TYPES);
372371
exposeOAuthErrorProperty(errorMap, defaultError, OAUTH_RESPONSE_FACTOR);
373-
exposeOAuthErrorProperty(errorMap, defaultError, OAUTH_RESPONSE_CHALLENGE);
374372
}
375373
else if ("factor_select".equals(action)) {
376374
exposeOAuthErrorProperty(errorMap, defaultError, OAUTH_RESPONSE_FACTORS);

0 commit comments

Comments
 (0)