Solved PGDef email address is case sensitive!!

Nov 12, 2018
1
3
3
Reactions
3 0 0
#1
PG Version
8.0.20
Server Type
Remote - VPS
Just a note to others who might experience this issue..... in my authorised users list I had entered my email address as all lower case. The email address was correct but I kept getting the unhelpful 'not authorized' error after authenticating against google login.

This made no sense and was driving me mad, lots of reading of logs later and I noticed that the oauth container log was receiving my email address back from google as A........ rather than a..........

I went into google gsuite account admin portal and updated my email address in there so that it was all in lower case. (Should have been like this from the start but I guess I had tried to be too clever when originally setting up my account in google).

Retried the login via verification page and voila worked straight away.....

So in summary make sure the email address case is EXACTLY the same as your email address in the google admin portal. NB Google is not case sensitive itself as I was logging in to the google user verification all in lower case, but google would still send my capitalised email address back to PG Oauth.

Mystery solved for anyone having strange 'not authorized' errors - this could be the problem.
 

PG Developer Donations

 

Forum statistics

Threads
2,962
Messages
18,630
Members
5,924
Latest member
chrisi21