I have made a web page over my virtual machine .. its being written in javascript .. now i want that user when enter my page url, should be redirected to okta login page, and once he logins, he should be redirected to my page url. ( if already logged in into okta, then ofcourse directly landing to my url is ok ) ..
so any leads on how to do that in javascript code ( which is front UI page being shown to user ) . Some examples will be good as this is the first time iam integrating some login feature.
Regards