azure-ad-b2c / partner-integrations

This repo contains samples which provide end to end integration between Azure AD and partner solutions.
14 stars 20 forks source link

B2C - Azure ACA - url callback convention #20

Open BC89 opened 1 year ago

BC89 commented 1 year ago

Greetings,

I've been attempting to wire up Azure Container App Service (ACA) with my B2C tenant and have run across an issue. ACA provides out of the box auth mechanisms for multiple identity providers including OIDC, AAD, Google, Apple etc. However, the callback url convention they've adopted requires a certain format, namely like so: https://.....xyz/.auth/login/aad/callback. What I've discovered through painful trial and error is that BC2 doesn't like the '.' in the callback url and when the case arises it falls back to a default callback url and simply ignores the user provided url. So, then the '/.auth ends getting overwritten with 'azure-ad-b2c'. Is this intentional and can it be overridden or addressed in some fashion?

Thx!

BC89 commented 1 year ago

This can be closed