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

From Khushboo Vashi
Subject Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration
Date
Msg-id CAFOhELf41dmUs0vPWNoXtL6u9CGZEpzu8FzLFNDqaAG769yxpg@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration  (Nico Rikken <nico.rikken@alliander.com>)
Responses Re: [pgAdmin][PATCH] Add OAUTH2_SCOPE variable for scope configuration  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers


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. :) 

pgadmin-hackers by date:

Previous
From: Nikhil Mohite
Date:
Subject: Re: [pgAdmin][RM-4567]: Privileges revoked using SQL query on objects like tables does not correctly in SQL tab
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Increase the width of the user management dialog.