Обсуждение: Error reported using Google auth on the website

Поиск
Список
Период
Сортировка

Error reported using Google auth on the website

От
Dave Page
Дата:
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.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Error reported using Google auth on the website

От
Magnus Hagander
Дата:
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