You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GraphQL: Reset user password with emailed token #7033
My custom choosePassword page gathers users input and requests a new password. It would make sense for me to use GraphQL for this, but with REST, it's the same code in the end.
@MichaelJCole if i understand you try to set up custom account workflow via GraphQL without using the Parse Server pages (resetPassword page, verify email page).
Currently the GraphQL API do not support this kind of mutation since many developers use auto managed Parse Server pages.
But it looks like a good addition, we have many example into the GraphQL folder under userMutation file.
I think the implementation could be easy !
Would you like to start a quick PR ? (with the endpoint suggested into you other issue ? 😃 )
Activity
mtrezza commentedon Dec 2, 2020
Thank you for reporting.
@Moumouls Do you have any suggestion for this GraphQL related issue?
MichaelJCole commentedon Dec 2, 2020
Hi @Moumouls and @mtrezza, thank you for looking at this. Here's a recap of the flow (to organize my thoughts)
I think this test case is an example
It looks like that REST route has two purposes depending on GET or POST:
Moumouls commentedon Dec 2, 2020
@MichaelJCole if i understand you try to set up custom account workflow via GraphQL without using the Parse Server pages (resetPassword page, verify email page).
Currently the GraphQL API do not support this kind of mutation since many developers use auto managed Parse Server pages.
But it looks like a good addition, we have many example into the GraphQL folder under userMutation file.
I think the implementation could be easy !
Would you like to start a quick PR ? (with the endpoint suggested into you other issue ? 😃 )
[-]GraphQL API cannot reset users password.[/-][+]GraphQL: Reset user password with emailed token[/+]MichaelJCole commentedon Dec 2, 2020
Hi @Moumouls, thanks for the invite, I appreciate what you guys have done.
My concerns with making a PR are:
I got this to work using the existing API's, so I'll spend some time to make a documentation PR for the GraphQL and REST guides.
For reference, here is how to complete the password reset with the REST API from the client:
Update users.md