Currently OAuth2 integration test coverage is low, there is nothing testing the login functionality. Doing it is kind of a pain, an extra key needs to be added that contains an authorization code that is generated by google. The authorization code needs to be taken from the redirectUrl's query params and then placed inside the tests.
Doing the integration test on the login should basically test all other parts of the file.
Currently OAuth2 integration test coverage is low, there is nothing testing the login functionality. Doing it is kind of a pain, an extra key needs to be added that contains an authorization code that is generated by google. The authorization code needs to be taken from the redirectUrl's query params and then placed inside the tests.
Doing the integration test on the login should basically test all other parts of the file.