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

Fix incorrect HTTP headers and resetPassword args #7121

Merged
merged 4 commits into from
Sep 23, 2020
Merged

Conversation

cmelchior
Copy link
Contributor

Closes #7117
Only partially closes #7116 . Even with the correct argument order we are still getting "Invalid token data", but this also happens on JS, so until proven otherwise I'm going with the assumption the problem is in either ObjectStore or on the server. I'm trying to verify if the endpoint we are hitting for resetPassword is correct in order to rule out OS, but this PR should be in a reviewable state nonetheless.

@cmelchior cmelchior self-assigned this Sep 22, 2020
@cmelchior cmelchior requested review from edualonso, clementetb, rorbech and nhachicha and removed request for edualonso, clementetb and rorbech September 22, 2020 11:51
Copy link
Contributor

@rorbech rorbech 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 - besides the obvious "how to test" the resetPassword method. Seems like there is not even an option to react on it in the server through ex. https://docs.mongodb.com/realm/triggers/authentication-triggers/

@cmelchior cmelchior merged commit 869a6b8 into v10 Sep 23, 2020
@cmelchior cmelchior deleted the cm/header-bugs branch September 23, 2020 07:55
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants