Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration - Mailing list pgadmin-hackers

From Nico Rikken
Subject Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration
Date
Msg-id AM0PR08MB32521FBAF69A58B1BB2F7ACBF4CC9@AM0PR08MB3252.eurprd08.prod.outlook.com
Whole thread Raw
In response to Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
Responses Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers
Thanks for reviewing. Indeed this is a bandaid to expand the usability of the OAuth implementation. As I've written on
theredmine issue as well https://redmine.postgresql.org/issues/6627 I've tested my usecase with a modified scope by
patchingthe oauth2.py file in production. That works well for authentication from Microsoft Azure AD. Also Shy N
reportedthis method to work. This patch just makes the scope configurable so it can be adopted to different use-cases. 


pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: Patch: Two-factor Authentication (RM #6543)
Next
From: Nikhil Mohite
Date:
Subject: Re: [pgAdmin][RM-4567]: Privileges revoked using SQL query on objects like tables does not correctly in SQL tab