public inbox for [email protected]
help / color / mirror / Atom feedFrom: Florian Sabonchi <[email protected]>
To: [email protected]
Subject: oauth2 patch
Date: Fri, 7 May 2021 15:41:18 +0000
Message-ID: <[email protected]> (raw)
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'
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: oauth2 patch
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox