Skip to content

Commit

Permalink
clean up and document env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwe committed Feb 22, 2024
1 parent c4f21d3 commit 509d4ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
AWS_ACCESS_KEY_ID=fill-me-in
AWS_SECRET_ACCESS_KEY=fill-me-in
POSTGRESQL_PASSWORD=fill-me-in

PROPEL_AUTH_ENDPOINT=fill-me-in
PROPEL_AUTH_API_KEY=fill-me-in
7 changes: 4 additions & 3 deletions openduck-py/openduck_py/auth/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
from openduck_py.db import get_db_async
from openduck_py.models import DBUser

PROPEL_AUTH_API_KEY = os.environ.get("PROPEL_AUTH_API_KEY")
# PROPEL_AUTH_ENDPOINT = "https://auth.uberduck.ai"
PROPEL_AUTH_ENDPOINT = "https://5479410.propelauthtest.com"
PROPEL_AUTH_API_KEY = os.environ.get("PROPEL_AUTH_API_KEY", "")
PROPEL_AUTH_ENDPOINT = os.environ.get(
"PROPEL_AUTH_ENDPOINT", "https://5479410.propelauthtest.com"
)


async def get_by_propel_auth_user_id(user_id):
Expand Down

0 comments on commit 509d4ce

Please sign in to comment.