Hi Everyone,
I have a custom Azure B2C Policy that does the following:
1. Verifies the users e-mail
2. Gets the user to set (reset) their password
3. Add a 2FA number and verify it
After this I would like to have the user logged into the site. I am sending the claims and the JWT token is looking good but no matter what I try I can not get the user logged in on completing the journey?
Not sure on:
- exactly what URL to use to call the custom policy
- what return URL I should use to get the user signed in (and what methods - code & token with form_post?)
I am assuming a custom policy other than the one mentioned in my Authority setting can log users in? I have put the policies issuer URL into the site settings in the Issuers section.
Any help on this topic greatly appreciated.
Many Thanks.
Hi Christian,
Thanks for the reply.
This seems to be the steps for a standard setup but does not leave the user logged in when using an additional custom policy. The only way I could get it to work was by creating another authentication method for the portal and setting the authority to the custom policy. Simply adding it to the valid issuers did not seem to work.
hi @sephira here is a master video about that Configure Azure AD B2C Authentication for Power Pages | Power Apps Portals - YouTube
Lucas001
60
Super User 2025 Season 2
Fubar
55
Super User 2025 Season 2
surya narayanan
35