my app is secured by SSO with the SAML widget and everything works.
However, I don’t want the user to see the screen with the ‘Log In’ button on it. It seems excessive to present the user with a ‘Log In’ page purely so they have a place to click a button to then present them the actual log in page which is my Azure Entra ID B2C log in screen.
How can I make it so that when the Fliplet SSO page is encountered it automatically redirects to my Azure Entra ID B2C log in page without the user clicking the button?
I tried the simple solution of using JQuery to click the button on page ready, but unsurprisingly this results in the browser popup blocker kicking in and stopping it.
Is there some way of programmatically triggering the SAML widget that won’t get popup blocked?
We don’t have a way to programmatically trigger the SAML2 component. Your best bet is what you have already tried with jQuery. I’ve tried this before and it should work. You might need to adjust it for the classes on your button.