question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Forgot password" is not returning an error to initiate reset password flow with `IMultipleAccountPublicClientApplication`

See original GitHub issue

Describe the bug We’re changing our integration from using ISingleAccountPublicClientApplication to IMultipleAccountPublicClientApplication, since it’s recommended in the docs when integrating with B2C and might help us with implementing Edit Profile functionality. However, when we made the change, “Forgot Password” started returning a cancellation error instead of the reset password error

Smartphone (please complete the following information):

  • Device: Pixel 2
  • Android Version: API 29
  • MSAL Version: 2.0.1

To Reproduce Steps to reproduce the behavior: Using IMultipleAccountPublicClientApplication

  • Launch sign in flow
  • Click “forgot password”

Expected behavior The app receives a reset password error (through AuthenticationCallback::onError) and can launch the reset password flow

Actual Behavior The app receives a cancellation through AuthenticationCallback::onCancel

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
leonardochiarandacommented, Dec 11, 2020

@iambmelt I apologize, but we’ve mistakenly asked for the ticket to be reopened. This can be closed for now.

1reaction
xyzwilliamxyzcommented, Nov 18, 2020

@iambmelt I tested on 2.0.4 and it’s ok now 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up a password reset flow - Azure AD B2C - Microsoft Learn
Tip. A user can change their password by using the self-service password reset flow if they forget their password and want to reset...
Read more >
Devise_token_auth Reset Password Flow 401 Error
Whenever I try to reset my password I get a 401 Unauthorized error from the API. The flow is as follows: The user...
Read more >
Implementing A Reset Password Feature With Next.js ...
If not, we throw an error by rendering the error message that is obtained from the backend. Now that you've seen how the...
Read more >
ForgotPassword - Amazon Cognito User Pools
The code delivery details returned by the server in response to the request to reset a password. Type: CodeDeliveryDetailsType object. Errors. For information ......
Read more >
Password reset email: best practices + checklist & template
It's almost impossible to build a software application without an email notification for a forgotten password. In a way, this is exactly what ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found