I am trying to set up the google client id login. I set up the google api, and followed the instructions from phpmaker docs:
Note When you configure your project at google.com, the Authorized Rdirect URI should be set as https://www.company.com/basepath/login/Google
, replace https://www.company.com/basepath
by the real URL of your project.
my site is company.com/patient_portal/
so I entered https://www.company.com/patient_portal/Google
I entered the credentials in phpmaker project, regenerated all files. I click on login with google, it asks for my google id, but then I get error below.
I am getting an error:
401
Unauthorized
You do not have permission to access /patient_portal/index.
What am I doing wrong?