-
Notifications
You must be signed in to change notification settings - Fork 63
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
Email not send . SendGrid , JWT Autentication, API Platfrom #288
Comments
Howdy @iamabhijeet2003 - can you provide a little bit of information so we can help you figure this out?
Without more information or the exact steps to reproduce the problem, it's hard to narrow down what the actual problem is. In the meantime, a couple things to check:
symfonycasts_reset_password:
request_password_repository: App\Repository\ResetPasswordRequestRepository
If you do find a solution to the problem, please let us know! It could help someone else in the future. Otherwise, we look forward to hearing back from you. |
Ahh ok I think I see whats going on here. It look's like your
In your ...
access_control:
- - { path: ^/reset-password$, roles: PUBLIC_ACCESS }
+ - { path: ^/reset-password.*$, roles: PUBLIC_ACCESS }
... Regex Test Results: https://regex101.com/r/xtQ5L5/1 The long version:
Under the hood, step 3 checks the session for the
As you can see this entire process was done without the user being authenticated. But, we attempt to prevent malicious behavior by using fake tokens and the like where necessary. Anywho, I hope this helps! If you're still having problems, please let us know... Side note: I'm working on a PR for MakerBundle right now that will generate a functional test for entire process. In the meantime, I created a gist that has a rough draft of the actual test logic here -> https://gist.github.com/jrushlow/193798c452a6e135c883273277e05621 |
Changing this , worked for me 👍 :
Thanks so much🙏 !! |
I am using sendgrid+smtp, my app is made in symfony with API-Platform and i have JWT authentication.
When I fill the form, it is registered correctly but the email is not sent.
The text was updated successfully, but these errors were encountered: