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

Allow bypassing getUser request when creating or updating a user #2104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brettwillis
Copy link

Closes #1885

Summary

The updateUser() and createUser() methods always perform two API requests under the hood: (1) the create/update request, and (2) a subsequent getUser() request.

This PR adds an optional parameter noFetchUserRecord that allows bypassing the getUser() request when not needed, so that it returns void.

@brettwillis
Copy link
Author

@lahirumaramba @prameshj please check thanks 🙏🏼

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.

[FR] Auth: Provide an API to create/update users without unneeded API requests
1 participant