I am beginner with token authorization and I am trying to create login system with react. The endpoints seem to require the token to be accessed, so I am redirected to /home