Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auth hash to external Id #1210

Merged
merged 1 commit into from
Nov 20, 2020
Merged

Add auth hash to external Id #1210

merged 1 commit into from
Nov 20, 2020

Conversation

Jeasmine
Copy link
Contributor

@Jeasmine Jeasmine commented Nov 12, 2020

  • Add auth to setExternalId
  • Add tests for new functionality

Needs name params validation

This change is Reviewable

@Jeasmine Jeasmine added the WIP Work In Progress label Nov 12, 2020
@Jeasmine Jeasmine removed the WIP Work In Progress label Nov 12, 2020
Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add require_user_id_auth to remote params

@@ -1565,8 +1595,20 @@ public void run() {
return;
}

if (remoteParams != null && remoteParams.useEmailAuth && externalIdAuthHash == null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remoteParams.useEmailAuth should be remoteParams.useUserIdAuth

return;
}

String internalExternalIdAuthHash = externalIdAuthHash;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change the name of internalExternalIdAuthHash? Is the only change we are making is making it all lower case? If that is the case maybe include the lowercase aspect in the name?

* Add auth to setExternalId
* Add tests for new functionality
Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

external_user_id_auth_hash is correctly added here so I think it looks good to me.

@Jeasmine Jeasmine merged commit f9eb83c into master Nov 20, 2020
@Jeasmine Jeasmine deleted the feature/external-id-auth branch November 20, 2020 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants