At the first connection with Github, the user is redirected to a Github page to give access rights. If, from there, the user cancels or goes back, the application redirects the user to the Github authentication page indefinitely.
Steps to reproduce
To reproduce this bug, your Github account must not have been used before with Git4School. Otherwise, you have to revoke the OAuth token.
Login to Github
Cancel the authentication
Actual result
The application redirects the user to the Github authentication page indefinitely
Expected result
The application shows the homepage and the user should be able to click on the Login button again
Hints
The authentication error was not handled well enough
The connection session with firebase is not handled well enough
The application should restart the authentication only if the user has already successfully authenticated before. However, here the failed login attempt counts as a successful login
Description
At the first connection with Github, the user is redirected to a Github page to give access rights. If, from there, the user cancels or goes back, the application redirects the user to the Github authentication page indefinitely.
Steps to reproduce
Actual result
The application redirects the user to the Github authentication page indefinitely
Expected result
The application shows the homepage and the user should be able to click on the Login button again
Hints