| B2C Login Configuration in Power Pages when Using Cloudmersive Reverse Proxy |
| 9/22/2025 - Cloudmersive Support |
When using B2C Login with Power Pages, with Cloudmersive Reverse Proxy deployed in front of Power Pages, we provide recommended configuration steps:
In Azure AD B2C (App Registration → Authentication)
Be sure to set your redirect_uri to the appropriate Redirect URL for your Cloudmersive Reverse Proxy application endpoint, e.g. https://myapp.cloudmersiveproxy.io/signin-yoursigninnamehere. This is important so that B2C Login will permit redirecting to the Reverse Proxy endpoint which is typically different. Note that if you are using a custom domain name you will want to use that here.
In Power Pages (Identity provider → Azure AD B2C)
- Open your site
- Go to Power Pages
- Open the site you want to configure
- Go to the identity provider list
- In the left navigation, click Security
- Click Identity providers
- Open the Azure AD B2C provider settings
- Find Azure Active Directory B2C
- Click it (or use the … menu on the row and choose Configure)
- Navigate to the site settings section
- Step through the configuration screens until you reach the section that contains the site/provider settings (commonly labeled something like Configure site settings or Enter site settings).
- On that screen, you should see fields such as Authority, Client ID, and Redirect URI.
- Set the Redirect URI
- Click into the Redirect URI field
- Enter the redirect URL that matches your Cloudmersive Reverse Proxy Endpoint, e.g.
https://myapp.cloudmersiveproxy.io/signin-yoursigninnamehere
- Make sure the full URL is correct (scheme
https://, hostname, and any path), and that it matches what you intend B2C to call back to after login
- Save
- Click Confirm (or Save, depending on what the UI shows)
- Close the dialog
|