SSO, Azure AD SSO Guidance

We have SSO (AD) setup, and is working great.

This is Agent Authentication page.


Where we have intentionally not set the SSO provide to auto attempt Azure AD SSO as w need to show the agent login page, so we can use test logins, admin logins etc, other reasons.

Meaning if users are provided this link:

https://easthants-***.oncreate.app/**i/agent/p/agent-my-page/agent-my-page/my-dashboard/my-dashboard**

And click the link (and are not logged in) will be redirected to the agent login page, with a button to single sign on, or thy can manually add another account and login that way too.

https://easthants-***.oncreate.app/**i/agent/login**

Which is how we want it work most of the time.

If I set auto attempt to Azure AD SSO it instantly logs in without us having a chance to login manually, not what we need most of the time.

This is where I need some guidance…

I think I’m looking for a way to use a different login? say…
https://-***.oncreate.app/i/agent/login/sso

I could send users to this url, it would auto log them in using SSO and I could redirect to the user dashboard page…?

https://easthants-***.oncreate.app/**i/agent/p/agent-my-page/agent-my-page/my-dashboard/my-dashboard**

Not sure if this is possible or its the right way of doing it?

Any guidance or hlp appreciated as always.
JonathanFS (EHDC)