-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation] B2C support for redirect_uri #3087
Comments
I'm a little confused by your description "like app service behind azure front door". Either I get it wrong but this does not look like a "public client". |
Hi, public client refers to how OAuth flow is executed not networking. In other MSAL libraries, I can specify |
I'm still confused. If it is a js/react application, why did you share C# code ("OnRedirectToIdentityProvider")?
|
ups, I think you're right - it's been a long time. let me review my sample. I confused two different apps. it's C# mvc B2C app - generated from the template. it gets this config by default: "AzureAdB2C": {
"Instance": "https://login.microsoftonline.com/tfp/",
"ClientId": "11111111-1111-1111-11111111111111111",
"Domain": "qualified.domain.name",
"SignedOutCallbackPath": "/signout/B2C_1_susi",
"SignUpSignInPolicyId": "b2c_1_susi",
"ResetPasswordPolicyId": "b2c_1_reset",
"EditProfilePolicyId": "b2c_1_edit_profile",
"CallbackPath": "/signin-oidc"
}, I was expecting a way to change the |
One more hint: |
Documentation related to component
I've been looking for documentation on how to configure redirect_uri for B2C but it seems to be missing.
There's the
"CallbackPath": "/signin-oidc"
but noRedirectUri
is used in public client?microsoft-identity-web/src/Microsoft.Identity.Web.TokenAcquisition/AspNetCore/TokenAcquisitionAspnetCoreHost.cs
Line 127 in bf77c78
Please check all that apply
Description of the issue
When you run the B2C app behind a proxy (like app service behind azure front door) the redirect URL needs to be configured for the proxy, not for the web app.
Redirect can be changed in code, but for other MSAL libraries that can be set in configuration.
Is this the intended way of handling this?
The text was updated successfully, but these errors were encountered: