I was following the sample here samples-js-react/okta-hosted-login at master · okta/samples-js-react · GitHub.
In my application I need this to be implemented in another way, that is when user hits the url it should directly take the browser to the okta login page, instead of showing the
welcome, click to login
page.
What changes are needed in the above example to make that work?
P.S: New to this as well as React.