I have the sign in widget working amazingly well.
I want to support our native login as well as okta widget as an alternative. We have users in our system that use okta SSO and users who do not.
How do I know when to display the SSO widget or when to show our native login form?
Should I quickly call the https://dev-933061.oktapreview.com/api/v1/sessions/me and if it returns a 404 then show our login form?
It seems like that wouldn’t always work as a /me 404 might be a SSO user that needs to authenticate through the widget… :S