React authorization should be imlpemented inside authentication to protect the component.
hi do u know how to implement authorization if the user is successfully logged In i had to keep restriction to one page (i.e one component page) to access that page he should know the admin Login and password . so, basically need to implement authorization for that one page
like
after the successful login if the user wants to access one of the posts page (localhost:3000/posts) the page should be blocked and only admins can access to that page