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

FormStrategy : form values are null #59

Open
bhritch opened this issue Dec 20, 2024 · 2 comments
Open

FormStrategy : form values are null #59

bhritch opened this issue Dec 20, 2024 · 2 comments

Comments

@bhritch
Copy link

bhritch commented Dec 20, 2024

Describe the bug

getting value from form returns null inside formstrategy

Your Example Website or App

https://github.com/bhritch/6eleven

Steps to Reproduce the Bug or Issue

  1. setup authenticator
  2. authenticator use formstrategy
  3. async( { form } ) form is null

Expected behavior

I expect to return values from form ex. email & password

Screenshots or Videos

image

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

@sergiodxa sergiodxa transferred this issue from sergiodxa/remix-auth Dec 20, 2024
@sergiodxa
Copy link
Owner

Your repo is private so I can check it

The strategy has tests to ensure it gets the body correctly. Ensure you’re not reading the body before calling the strategy.

@bhritch
Copy link
Author

bhritch commented Dec 20, 2024

sorry about that, I set it to public now so you can check it. Yep before sending it to authenticator it was fine I get the values but inside the formstrategy it's null. what am I missing? Thank you

image

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

2 participants