Skip to content

Commit

Permalink
Fix auth settings types
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafaggianelli committed Apr 24, 2023
1 parent ef312cf commit 04ec172
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mario/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ def settings_file_source(settings: BaseSettings) -> Dict[str, Any]:
class AuthSettings(BaseModel):
client_id: SecretStr
client_secret: SecretStr
server_metadata_url: HttpUrl
access_token_url: HttpUrl
authorize_url: HttpUrl
jwks_uri: HttpUrl
server_metadata_url: Optional[HttpUrl]
access_token_url: Optional[HttpUrl]
authorize_url: Optional[HttpUrl]
jwks_uri: Optional[HttpUrl]
client_kwargs: Optional[Any]
secret_key: Optional[SecretStr] = "not-very-secret-string"
secret_key: Optional[SecretStr] = SecretStr("not-very-secret-string")


class Settings(BaseSettings):
Expand Down

0 comments on commit 04ec172

Please sign in to comment.