Thank you for the quick reply. But I want to customize it depending on what the user does. This API just changes it for all users. I want it to be dynamic to the user. Is that possible?
eg. User clicks on some product. Text becomes “Please login before purchasing X product”
Unfortunately, that’s not possible with the New Universal Login Experience. Only a few variables available on New Universal Login Page at the moment.
You will have more customization available in the Classic Experience.