Skip to content

Commit

Permalink
Merge pull request #42 from DMHP/main
Browse files Browse the repository at this point in the history
Modify Auth params
  • Loading branch information
DMHP authored Nov 2, 2023
2 parents ac21fe6 + 6b40864 commit 4b5eaf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ private void setAuthParams(AuthenticatorData authenticatorData) {

List<AuthenticatorParamMetadata> authenticatorParamMetadataList = new ArrayList<>();
AuthenticatorParamMetadata usernameMetadata = new AuthenticatorParamMetadata(
MagicLinkAuthenticatorConstants.USER_NAME, FrameworkConstants.AuthenticatorParamType.STRING,
MagicLinkAuthenticatorConstants.MAGIC_LINK_TOKEN, FrameworkConstants.AuthenticatorParamType.STRING,
0, Boolean.TRUE, MagicLinkAuthenticatorConstants.MAGIC_LINK_CODE);
authenticatorParamMetadataList.add(usernameMetadata);
authenticatorData.setAuthParams(authenticatorParamMetadataList);
Expand Down

0 comments on commit 4b5eaf3

Please sign in to comment.