Hi @devpriya,
I believe you’re missing the redirect_uri
parameter in your widget configuration.
You can see all the widget parameters here - GitHub - okta/okta-signin-widget: HTML/CSS/JS widget that provides out-of-the-box authentication UX for your organization's apps
You can also look at the following 2 threads -