Skip to content

Commit

Permalink
Merge pull request #168 from shanggeeth/graalvm
Browse files Browse the repository at this point in the history
Fix authentication Context being null in authenticated user JS proxy object
  • Loading branch information
janakamarasena authored Jun 10, 2024
2 parents 99836df + 9f00ff4 commit be8f6fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private JsAuthenticatedUser getUniqueUserWithClaimValuesInternal(Map<String, Str
}
authenticatedUser.setUserName(username);
authenticatedUser.setTenantDomain(tenantDomain);
if (authenticationContext != null) {
if (authenticationContext == null) {
return (JsAuthenticatedUser) JsWrapperFactoryProvider.getInstance().getWrapperFactory().
createJsAuthenticatedUser(authenticatedUser);
}
Expand Down

0 comments on commit be8f6fd

Please sign in to comment.