我正在使用 Okta C# sdk。当我使用 Okta userclient.forgotpassword 时,它会向用户发送重置密码邮件,但作为响应它返回 null。谁能帮助我如何确定它已向用户发送重置电子邮件?
问问题
217 次
1 回答
1
Dinesh,
This is the expected behavior: when you specify sendEmail=true with the Okta API, the response is empty if the email was sent (otherwise, you get an exception). If you specify sendEmail=false, then the response provides the unique password reset url.
There can be a multitude of reasons why your users do not receive the password reset email that are beyond Okta's control, but if you get a null response, you should expect the email has indeed been successfully sent by Okta.
I hope this helps.
于 2016-02-22T17:34:15.893 回答