A Controller to handle the Google OAuth2 authentication flow.
A Controller to handle the Google OAuth2 authentication flow.
1) User is sent to initiate()
2) initiate() sends (redirects) user to Google
3) Google redirects user to redirResponse() after consent
4) redirResponse() extracts email, authenticates
A Controller to handle the Google OAuth2 authentication flow.
1) User is sent to initiate() 2) initiate() sends (redirects) user to Google 3) Google redirects user to redirResponse() after consent 4) redirResponse() extracts email, authenticates