OrangeHRM: Google oauth redirects to login page after successful authorization instead of Dashboard OrangeHRM: Google oauth redirects to login page after successful authorization instead of Dashboard symfony symfony

OrangeHRM: Google oauth redirects to login page after successful authorization instead of Dashboard


The redirect URI (where the OAuth response is returned to) has to be registered in Google APIs console, and the error is indicating that you haven't done that, or haven't done it correctly.

Go to the console for your project and look under API Access. You should see your client ID & secret there, along with a list of redirect URIs. If the URI you want isn't listed, click edit settings and add the URI to the list.