Re: Error reported using Google auth on the website - Mailing list pgsql-www

From Magnus Hagander
Subject Re: Error reported using Google auth on the website
Date
Msg-id CABUevEy+VEDD2ZAH+nVSSV4eQui7jN81xO3-Ay-c=s4Wtmj2hA@mail.gmail.com
Whole thread Raw
In response to Error reported using Google auth on the website  (Dave Page <dpage@pgadmin.org>)
List pgsql-www
On Thu, Jun 20, 2019 at 1:58 PM Dave Page <dpage@pgadmin.org> wrote:
A user reported this to me:

When logging onto the PostgreSQL Redmine instance using our gmail account we get below error:
"An unhandled exception occurred during the authentication process."

Apparently happening for 3 different users, as of this morning.

I don't have the bandwidth to look into it myself this week (and probably the next 14 days or so) so if someone else can, that would be helpful. The user in question has worked around it by switching to use our own authentication.


I believe I've found and fixed this. There were some hints in the logflie. It seems Google decided to randomly add more scopes to the OAuth token that we didn't request, and that tripped a safety check in the library. I've changed that safety check to do a warning instead of a hard exception.

//Magnus
 

pgsql-www by date:

Previous
From: Dave Page
Date:
Subject: Error reported using Google auth on the website
Next
From: Erik Rijkers
Date:
Subject: ftp/source has v12 subdir instead of v12beta2