The problem is, the redirect do not work. Post login, and authentication, it takes me to dev-***.okta dashboard not to the webpage URL (I have a dev DNS name, so I use it instead of localhost).
I am new to Okta development and not sure what is it that I am doing is wrong.
If I was already logged in the browser and have a active session in https://dev-****.okta.com, then the page loads good with user name fetched and displayed properly.
I used the example from Add Authentication to Any Web Page in 10 Minutes | Okta Developer and used the widget API call to get the user details and user group.
Any help here is much appreciated