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

POST Request for password reset #107

Closed
JValentas opened this issue Apr 28, 2020 · 5 comments
Closed

POST Request for password reset #107

JValentas opened this issue Apr 28, 2020 · 5 comments

Comments

@JValentas
Copy link

Hello,

Is there any way to make a POST call with some parameters like email address for password reset request or you must use the generated web template?
For example to make a request call from mobile app, instead of opening browser.

Thanks for the replies in advance.

@kbond
Copy link
Contributor

kbond commented Apr 28, 2020

Not out of the box with the provided controller trait or generated maker bundle code. You would have to write custom controller(s). Everything else from this bundle could still be used though.

@weaverryan
Copy link
Contributor

That's exactly the idea :). The bundle gives you all the tools to do this - you'll just need to implement the route & controller yourself. I would be happy to have a simple example in the docs if someone wants to contribute it :).

@kbond
Copy link
Contributor

kbond commented Apr 28, 2020

Might be an idea for a 2.0 release: a non-session based controller trait/helper.

@jrushlow
Copy link
Collaborator

Added a note of this issue on the future board. I like @weaverryan idea of an example added into the docs.

After I get the verify bundle up to speed, I’ll take a stab at some sort of native support for POST / alternative API requests if someone doesn’t beat me to it. My knee jerk reaction is to say that it would be pretty similar to the existing helper class, so I’m not sure as to how much value that would add to the bundle.

@jrushlow
Copy link
Collaborator

I'm going to close this for now as it is related to #128. We should have a solution in our docs & a PR up in MakerBundle later today that explains / provides a implementation for API based resets.

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

No branches or pull requests

4 participants