fusionauth-issues
fusionauth-issues copied to clipboard
Allow Forgot Password API usage when email template disabled
Allow Forgot Password API usage when email template disabled
Description
It's not intuitive that the /api/user/forgot-password
is completely disabled (i.e. always returns 403
) when there is no email template configured for Forgot password. If I set sendForgotPasswordEmail
to false
, I shouldn't need to have an email template configured.
Is this a question about how to use FusionAuth? Please consider posting on the FusionAuth forum instead.
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
Thanks @epbensimpson for the request.
To clarify your request, you asking for a behavior change such that:
When you call the Forgot Password API /api/user/forgot-password
with sendForgotPasswordEmail: false
(which means you do not want FusionAuth to send an email) - an email template is not required to be configured.
Today:
Regardless of the value of sendForgotPasswordEmail
on the API, if tenant.emailConfiguration.forgotPasswordEmailTemplateId
is not configured, 403
is returned.
Ideal:
Unless sendForgotPasswordEmail
is set to true
, or calling w/out an API key which forces sendForgotPasswordEmail
to be equal to true
, the tenant.emailConfiguration.forgotPasswordEmailTemplateId
is optional, and should not cause 403
to be returned.
Tagging as bug
and enhancement
- unclear if this status code is the intended behavior even when sendForgotPasswordEmail
is set to false
, or if this is just an oversight. If an oversight, this is a bug.
Thanks Dan, it did feel like this was intentional based on the "feature disabled" option instead of plain "no template" in the template config, hence filing it as a feature request rather than a bug :)
Internal
- https://github.com/FusionAuth/fusionauth-app/pull/160
Hey, I'm facing this problem, when can I expect this problem to be solved? Thanks!
Hi @angelotessaro ,
It looks like this is marked 'done' and is slated for the 1.43.0 release. We don't have a firm date for that release, but the current version is 1.42, so that will be the next release.
You can look at the 1..43 milestone to see what other issues are slated for that release; that should give you some idea when it will be released (as they all progress towards 'Done'). It looks like 1.43.0 has a lot of issues included.
Here's our general roadmap guidance: https://fusionauth.io/docs/v1/tech/core-concepts/roadmap
Hope that helps!
Internal
- https://github.com/FusionAuth/fusionauth-app/pull/160
- https://github.com/FusionAuth/fusionauth-site/pull/1773
Doc task completed. Closing issue.