Thanks to visit codestin.com
Credit goes to github.com

Skip to content

support for users-by-email via list_by_email() #88

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

Closed
wants to merge 1 commit into from

Conversation

mdornseif
Copy link
Contributor

This adds support for /api/v2/users-by-email via the function users.list_by_email(email='[email protected]'). This API endpoint had no python bindings up to now.

This adds support for [/api/v2/users-by-email](https://auth0.com/docs/api/management/v2#!/Users_By_Email/get_users_by_email) via the function  `users.list_by_email(email='[email protected]')`. This API endpoint had no python bindings up to now.
Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

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

Looks good 👍. Please add the missing tests and fix the comment I left you.

to be include in the result, False otherwise.
"""
params = {
'email': email,
Copy link
Contributor

Choose a reason for hiding this comment

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

Per the comment here this should be email.lower()

When using this endpoint, make sure that you are searching for users via email addresses in lowercase only.

@saltukalakus
Copy link
Contributor

saltukalakus commented Apr 11, 2018

Hi I have pushed a new PR with test here => #96 Can we merge it instead of this.

@lbalmaceda
Copy link
Contributor

@mdornseif If you are not going to be able to update this PR I'll end up merging the @saltukalakus one.

@lbalmaceda lbalmaceda closed this Jun 19, 2018
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