IdP integration using okta-auth-js?

Is IdP integration possible without using the widget or hosted sign in? If so, is there an example?