Azure AD B2C App Service Auth password reset

I am trying to implement Azure B2C using the new application service authentication workflow as described here: https://cgillum.tech/2016/05/27/app-service-auth-and-azure-ad-b2c/

Registration and login work fine, but resetting the password redirects to the same URL as successful login. For example: https://myapp.azurewebsite.net/.auth/login/aad/callback

But, given that a user who is not logged in in this redirect fails 401 Unauthorized

I have set a password reset policy in my Azure B2C client, but there seems to be no way to redirect the Easy Auth system to it.

Please note that I also enabled password reset for B2C on the classic portal.

What am I missing here?

Update:
When I use only the login policy (and not the combined login / login policy), resetting the password works fine. The two politicians seem to be doing different things.

+5
source share
2 answers

UPDATE 8/15/2016

For more information about activating additional B2C policies from the App Service application, see this blog post: https://cgillum.tech/2016/08/10/app-service-auth-and-azure-ad-b2c-part-2/

Here is an example of how you can call the reset password policy from your web application:

<a href="/.auth/login/aad?p=B2C_1_ResetPassword&post_login_redirect_uri=/">Reset Password</a>

Old answer - please ignore:

Perhaps you are using the time limit of the built-in B2C support in the App Service, as stated in the blog post: ~~

B2C . . , , B2C...

B2C . , , .

. , , , reset.

+3

@chrisgillum ? , .

0

Source: https://habr.com/ru/post/1649879/


All Articles