When you see the error message 'error while redirecting' while trying to log in to the student portal, don't worry. There are multiple possible solutions for this problem. These solutions are listed below. Please try the solutions in the order in which they are written here.
1. Try removing all text after mijn.universiteitleiden.nl in the link in the address bar and press enter.
2. If this doesn't work, try closing the tab and opening a new one. Try to login once more.
3. If this doesn't work, try closing your browser entirely. Open it again and try logging in once more.
4. If you still get the error message, please try to remove your browser cookies and try again. You can also try using another browser.
You should be redirected to the student portal now! If all the solutions above fail, you can reach out to the support team.