Hi all
I have deployed a self-hosted event portal to an Azure Storage Account. All works fine in respect of displaying events and registering but after integrating AAD B2C I am receiving an error on the site once sign-in has occurred.
I believe I have set up B2C correctly as detailed here
https://pkoval.com/2019/12/03/how-to-configure-azure-b2c-authentication-for-event-management/
When the site is launched I can click "Sign-In" and then enter my email/password in the pop-up box. However once seemingly "signed-in" the site errors when you go to an event and just loops back to sign-in. In addition, the previously accessible events that did not require a sign-in now error.
The main error in the console is
Failed to load resource: the server responded with a status of 502 ()
This is against the URi XXXXXX.svc.dynamics.com/.../authenticated
I have set the CORS policy on the storage account to accept all (*) PUT
For reference, the B2C tenant is different to the tenant that contains the instance of D365 Marketing. Would that cause the issue?
Many thanks in advance.