Skip to content

Commit d005481

Browse files
authored
Merge pull request #276 from kids-first/add-log
🔧 Add some log to troubleshoot issues with auth0
2 parents 420b84d + 57969fa commit d005481

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coordinator/authentication.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ def headers():
3232

3333
def get_service_token():
3434
""" Get a new token from Auth0 """
35+
logger.info(f"Try to get token from auth0 with "
36+
f"clientId={settings.AUTH0_CLIENT}, "
37+
f"audience={settings.AUTH0_AUD}, "
38+
f"domain ={settings.AUTH0_DOMAIN}")
3539
url = f"{settings.AUTH0_DOMAIN}/oauth/token"
3640
headers = {"Content-Type": "application/json"}
3741
data = {

0 commit comments

Comments
 (0)