se701g2 / Doto

Todo application for Group 2
https://doto.azurewebsites.net/
MIT License
12 stars 42 forks source link

Can't log in unless using emails with a UoA domain #307

Closed Matteas-Eden closed 4 years ago

Matteas-Eden commented 4 years ago

Bug Summary:

It is not possible to log in to the app with Google accounts that aren't registered using the University of Auckland's domain, such as the standard free Gmail account or a Gsuite account.


Steps To Reproduce

1) Go to Google login via button on front page 2) Login using an account that does not use the @aucklanduni.ac.nz domain 3) Observe userInfo is undefined error upon being redirected to the Calendar page

Expected Behaviour

A user should be able to access all the functionalities of the Doto webapp, regardless of the domain with which their Google account is registered.

Observed Behaviour

Users who login with domains not registered with the University of Auckland are unable to access any of the features of the Doto webapp.

Screenshots

Environment


Additional Information:

Stack Traces

Test Cases

Code Examples

Error Reports

Unhandled Rejection (TypeError): userInfo is undefined

Other

Matteas-Eden commented 4 years ago

Duplicate of #306.