Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions polaris/hub/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

from polaris.utils.types import HttpUrlString, TimeoutTypes

# from httpx._types import TimeoutTypes


class PolarisHubSettings(BaseSettings):
"""Settings for the OAuth2 Polaris Hub API Client.
Expand All @@ -30,12 +28,10 @@ class PolarisHubSettings(BaseSettings):
Allows for custom SSL certificates to be used.
"""

hub_url: HttpUrlString = "http://localhost:3000/" # "https://polarishub.io/"
hub_url: HttpUrlString = "https://polarishub.io/"
api_url: Optional[HttpUrlString] = None
authorize_url: HttpUrlString = "https://pure-whippet-77.clerk.accounts.dev/oauth/authorize"
callback_url: HttpUrlString = (
"http://localhost:3000/oauth2/callback" # "https://polarishub.io/oauth2/callback"
)
callback_url: HttpUrlString = "https://polarishub.io/oauth2/callback"
token_fetch_url: HttpUrlString = "https://pure-whippet-77.clerk.accounts.dev/oauth/token"
user_info_url: HttpUrlString = "https://pure-whippet-77.clerk.accounts.dev/oauth/userinfo"
scopes: str = "profile email"
Expand Down