Angular Okta Widget SSO

I have enabled the feature flag idp Discovery as it shows in

var signIn = new OktaSignIn({
baseUrl: ‘https://{yourOktaDomain}’,
… …
features: {
idpDiscovery: true

However, I am wondering how regular users that do not have SSO can login using the primary authentication flow by using their username and password. I am not able to redirect the users with the primary authentication flow to the homepage of the application. Is there any documentation I can follow, is there any additional logic to add in the widget?