File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ class OAuthClientMetadata(BaseModel):
3737 See https://datatracker.ietf.org/doc/html/rfc7591#section-2
3838 """
3939
40- # Preserve empty URL paths so identifiers are compared as transmitted (RFC 3986 6.2.1)
41- # instead of acquiring a trailing slash; defaults in Pydantic v3.
4240 model_config = ConfigDict (url_preserve_empty_path = True )
4341
4442 redirect_uris : list [AnyUrl ] | None = Field (..., min_length = 1 )
@@ -127,8 +125,6 @@ class OAuthMetadata(BaseModel):
127125 See https://datatracker.ietf.org/doc/html/rfc8414#section-2
128126 """
129127
130- # Preserve empty URL paths so the issuer is compared as transmitted (RFC 3986 6.2.1)
131- # instead of acquiring a trailing slash; defaults in Pydantic v3.
132128 model_config = ConfigDict (url_preserve_empty_path = True )
133129
134130 issuer : AnyHttpUrl
@@ -160,8 +156,6 @@ class ProtectedResourceMetadata(BaseModel):
160156 See https://datatracker.ietf.org/doc/html/rfc9728#section-2
161157 """
162158
163- # Preserve empty URL paths so the resource and authorization servers are compared as
164- # transmitted (RFC 3986 6.2.1) instead of acquiring a trailing slash; defaults in Pydantic v3.
165159 model_config = ConfigDict (url_preserve_empty_path = True )
166160
167161 resource : AnyHttpUrl
You can’t perform that action at this time.
0 commit comments