Developer forum

Forum » Ecommerce - Standard features » Order receipt when using External Authentication

Order receipt when using External Authentication

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have a solution running on DW 9.12.x and using AzureB2C external authentication.

In this solution, I have an integration with a payment provider. Not a standard DW payment provider, a custom one.

The challenge we have is keeping the user authenticated upon returning from the payment provider (payment confirmed). We can display the Receipt alright but the user is not authenticated anymore.

It is my first attempt on using the External Authentication and therefore I have no idea how we should handle the return of the user upon payment completion.

I could really use some suggestions.

Thank you,

Adrian

 


Replies

 
Nicolai Pedersen
Reply

I think that requires a bit of debugging. I cannot see how those 2 things should affect each other.

The callback from the payment should be independent of the login and always close the payment, and it sounds like it does, but why you get logged off, I cannot figure out...

Could be related to configuration of your Azure AD session behavior: https://docs.microsoft.com/en-us/azure/active-directory-b2c/session-behavior?pivots=b2c-user-flow

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you for the suggestion.

I will check the Azure AD session behavior as it may have another impact as well when the user changes the account.

Thank you very much,
Adrian

 

 

You must be logged in to post in the forum