Signin-widget protected component error

I used this walkthorugh for the signin widget- https://developer.okta.com/code/angular/okta_angular_sign-in_widget/

When I am not logged in, and I clicked protected, I just get a console error. Shouldn’t it display a message or redirect to the login widget screen? Did I miss a step in the tutorial? How can I tell it to redirect to the login page when not authenticated?

Thanks

Well nevermind. I switched to firebase auth instead.

What was the console error and did you see anything in the network tab? If you use that guide and you hit the protected route, you should be sent to the /login to authenticate with the widget.