Go to the Google API & Services Dashboard
First, copy .env.sample
to .env
:
$ cp .env.sample .env
- Set up the env vars:
- export GOOGLE_CLIENT_ID=...
- export GOOGLE_CLIENT_SECRET=...
- export SECRET_KEY=...
- export API_SECRET_KEY=...
Create your Google OAuth Client and fill the client ID and secret
into .env
, then run:
When register your Google OAuth Client, remember to put:
http://127.0.0.1:8000/
into the client redirect urls
- Python3.9+
- docker settings → Resource → File sharing → project directory