Skip to content

Commit

Permalink
Merge pull request #51 from sandushi/fix-magic-link-issue
Browse files Browse the repository at this point in the history
Fix magic link not receiving issue when multi attribute login is enabled
  • Loading branch information
sandushi authored Mar 18, 2024
2 parents 0bd65cb + e34cbc7 commit 1792018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ protected void initiateAuthenticationRequest(HttpServletRequest request, HttpSer
e.getMessage(), user, e);
}
} else {
User user = getUser(context.getLastAuthenticatedUser());
User user = getUser(context.getLastAuthenticatedUser(), context);
if (user != null) {
MagicLinkAuthContextData magicLinkAuthContextData = new MagicLinkAuthContextData();
String magicToken = TokenGenerator.generateToken(MagicLinkAuthenticatorConstants.TOKEN_LENGTH);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
<identity.application.authenticator.magiclink.exp.pkg.version>${project.version}
</identity.application.authenticator.magiclink.exp.pkg.version>
<carbon.kernel.version>4.9.10</carbon.kernel.version>
<carbon.identity.framework.version>5.25.522</carbon.identity.framework.version>
<carbon.identity.framework.version>7.0.106</carbon.identity.framework.version>
<apache.felix.scr.ds.annotations.version>1.2.10</apache.felix.scr.ds.annotations.version>
<identity.event.handler.notification.version>1.3.14</identity.event.handler.notification.version>
<identity.inbound.auth.oauth.version>6.11.172</identity.inbound.auth.oauth.version>
Expand Down

0 comments on commit 1792018

Please sign in to comment.