File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ ### Setup Requisites
2
+ - Mongo
3
+ - docker
4
+
5
+ ### ENV setup
6
+ - docker run -d -p 27017:27017 -v ~ /work/data:/data/db mongo
7
+ - python app.py
Original file line number Diff line number Diff line change 1
1
DATABASE = "nomad"
2
2
DB_HOST = "localhost"
3
3
DB_PORT = 27017
4
+ GOOGLE_CLIENT_ID = os .environ .get ("GOOGLE_CLIENT_ID" , "************************.apps.googleusercontent.com" )
5
+ GOOGLE_CLIENT_SECRET = os .environ .get ("GOOGLE_CLIENT_SECRET" , "***********************" )
6
+ GOOGLE_DISCOVERY_URL = (
7
+ "https://accounts.google.com/.well-known/openid-configuration"
8
+ )
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import requests
2
+
3
+
4
+ def get_google_provider_cfg (discovery_url ):
5
+ return requests .get (discovery_url ).json ()
You can’t perform that action at this time.
0 commit comments