Skip to content

Commit

Permalink
Merge pull request #113 from ananjaykumar2/fix/connector-role
Browse files Browse the repository at this point in the history
hanlde invlid role for connector apis
  • Loading branch information
ankitmashu authored Nov 13, 2024
2 parents 3e1e197 + 3f308b4 commit c4d6276
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ Future<Boolean> validateProviderUser(String providerUserId, JwtData jwtData) {
LOGGER.error("fail");
promise.fail("incorrect providerUserId");
}
} else {
promise.fail("Invalid role found");
}
} catch (Exception e) {
LOGGER.error("exception occurred while validating provider user : " + e.getMessage());
Expand Down

0 comments on commit c4d6276

Please sign in to comment.