I am trying to enable the functionality to change/reset the password in a Flutter App with Azure B2C. Changing the password should be achieved via a "change password button" on the user profile page, the password reset via "Forgot your password?" on the b2clogin.com page.
I am using flutter_appauth for the login. The user login works as expected with the following code and the user is redirected to the b2clogin.com page.
result = await appauth.authorizeAndExchangeCode(
AuthorizationTokenRequest(AppConfig.instance.values.clientId,
AppConfig.instance.values.redirectUrl,
serviceConfiguration: AuthorizationServiceConfiguration(AppConfig.instance.values.authorizationEndpoint,AppConfig.instance.values.tokenEndpoint),
scopes: AppConfig.instance.values.scopes),
);
But when the user clicks on "Forgot your password?", the redirection to the b2c password reset page is missing. How can I link the button to my password reset user flow?
Any ideas how I can trigger the "b2c change password" functionality with a button?
Thanks in advance
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.