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

From Akshay Joshi
Subject Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration
Date
Msg-id CANxoLDfmunvjzKaZ-Vw+JGMDZxUjLAa5=ugFxPGrBiVDP5k7dA@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers
Thanks, the patch applied.

On Tue, Aug 31, 2021 at 2:01 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:


On Tue, Aug 31, 2021 at 1:25 PM Nico Rikken <nico.rikken@alliander.com> wrote:
Thanks for reviewing. Indeed this is a bandaid to expand the usability of the OAuth implementation. As I've written on the redmine issue as well https://redmine.postgresql.org/issues/6627 I've tested my usecase with a modified scope by patching the oauth2.py file in production. That works well for authentication from Microsoft Azure AD. Also Shy N reported this method to work.
Good to hear that.
This patch just makes the scope configurable so it can be adopted to different use-cases.
 Thanks for working on this. :) 


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Introduced OAUTH2_SCOPE variable for the Oauth2 scope
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