Skip to content

Commit

Permalink
dont compare the error description on invalid_request exception
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalmaceda committed Jan 31, 2017
1 parent ef9742b commit 52543c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public AuthenticationException(Map<String, Object> values) {
}

private void warnIfOIDCError() {
if ("invalid_request".equals(getCode()) && getDescription().startsWith("OIDC conformant clients cannot use")) {
if ("invalid_request".equals(getCode())) {
Log.w(AuthenticationAPIClient.class.getSimpleName(), "Your Auth0 Client is configured as 'OIDC Conformant' but this instance it's not. To authenticate you will need to enable the flag by calling Auth0#setOIDCConformant(true) on the Auth0 instance you used in the setup.");
}
}
Expand Down

0 comments on commit 52543c8

Please sign in to comment.