File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,11 +93,9 @@ components:
9393 title : Client Id
9494 type : string
9595 logout_redirect_endpoint :
96- anyOf :
97- - type : string
98- - type : ' null'
9996 description : The oidc endpoint required to logout
10097 title : Logout Redirect Endpoint
98+ type : string
10199 well_known_url :
102100 description : URL to fetch OIDC config from the provider
103101 title : Well Known Url
Original file line number Diff line number Diff line change 2121 ValidationError ,
2222 field_validator ,
2323)
24+ from pydantic .json_schema import SkipJsonSchema
2425
2526from blueapi .utils import BlueapiBaseModel , InvalidConfigError
2627
@@ -162,7 +163,7 @@ class OIDCConfig(BlueapiBaseModel):
162163 )
163164 client_id : str = Field (description = "Client ID" )
164165 client_audience : str = Field (description = "Client Audience(s)" , default = "blueapi" )
165- logout_redirect_endpoint : str | None = Field (
166+ logout_redirect_endpoint : str | SkipJsonSchema [ None ] = Field (
166167 description = "The oidc endpoint required to logout" , default = None
167168 )
168169
You can’t perform that action at this time.
0 commit comments