I am building an Angular SPA and I need the application to automatically detect whether the user has already logged-in, redirect the user to the established Okta login page if they aren’t already logged in, and then once they have logged in, redirect them back to the SPA.
I have already tried the following tutorials from the Okta website at
Neither of these tutorials really demonstrate the functionality that I need. They are also buggy and don’t really work as written, but that’s a separate issue.
Can anyone point me to a tutorial-like resource that shows how to implement this? Bonus points if it’s written for the current version of whatever library it uses.