Re: oauth2 patch - Mailing list pgadmin-hackers

From Khushboo Vashi
Subject Re: oauth2 patch
Date
Msg-id CAFOhELcOfF-GEsnuAHOLRai4aoZjw9grX=DYN1X5U8QyKUYiUg@mail.gmail.com
Whole thread Raw
In response to Re: oauth2 patch  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Responses Re: oauth2 patch  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers


On Mon, May 10, 2021 at 10:59 AM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Khushboo

Can you please review the patch?
On it. 

On Sun, May 9, 2021 at 12:53 AM Florian Sabonchi <sabonchi@posteo.de> wrote:
Hello in this patch I have implemented OAuth2. Unfortunately I wasn't
sure how the test should look like, because I couldn't find anything in
the developer documentation, so I decided not to write one for now.

The configuration has to look like this here is an example for github:

OAUTH2_NAME = 'github'
OAUTH2_CLIENT_ID = 'secret'
OAUTH2_CLIENT_SECRET = 'secret'
OAUTH2_TOKEN_URL = 'https://github.com/login/oauth/access_token'
OAUTH2_AUTHORIZATION_URL = 'https://github.com/login/oauth/authorize'
OAUTH2_API_BASE_URL = 'https://api.github.com/'
OAUTH2_USERINFO_ENDPOINT = 'https://api.github.com/user'
OAUTH_ENDPOINT_NAME = 'user'




--
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: Ensure that pgAdmin4 shut down completely on the Quit
Next
From: Nikhil Mohite
Date:
Subject: [pgAdmin][RM-2341]: Add menu option for starting PSQL