Re: Error reported using Google auth on the website

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Error reported using Google auth on the website
Date: 2019-06-20 16:57:23
Message-ID: CABUevEy+VEDD2ZAH+nVSSV4eQui7jN81xO3-Ay-c=s4Wtmj2hA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Thu, Jun 20, 2019 at 1:58 PM Dave Page <dpage(at)pgadmin(dot)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

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Erik Rijkers 2019-06-20 21:32:02 ftp/source has v12 subdir instead of v12beta2
Previous Message Dave Page 2019-06-20 11:57:51 Error reported using Google auth on the website