Has anyone used okta sign-in widget ( okta hosted) in a web application mainly java script based ? I am facing an issue where the login box takes the credentials and also requests to enter MFA - OTP for the applicable user. But after that it just gets stuck and does not redirect me to the applications redirect URI as configured.
Any sample script will be appreciated.
I suspect the redirect code needs to be added to the java script.
I am following the basic java script shared within Okta documentation.