Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from fix-optional-field-required #53

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.4.0
current_version = 1.4.1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion oauth2_lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

"""This is the SURF Oauth2 module that interfaces with the oauth2 setup."""

__version__ = "1.4.0"
__version__ = "1.4.1"
4 changes: 2 additions & 2 deletions oauth2_lib/fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ class OIDCConfig(BaseModel):
authorization_endpoint: str
token_endpoint: str
userinfo_endpoint: str
introspect_endpoint: Optional[str]
introspection_endpoint: Optional[str]
introspect_endpoint: Optional[str] = None
introspection_endpoint: Optional[str] = None
jwks_uri: str
response_types_supported: list[str]
response_modes_supported: list[str]
Expand Down
1 change: 0 additions & 1 deletion tests/test_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"token_endpoint": "https://connect.test.surfconext.nl/oidc/token",
"userinfo_endpoint": "https://connect.test.surfconext.nl/oidc/userinfo",
"introspect_endpoint": "https://connect.test.surfconext.nl/oidc/introspect",
"introspection_endpoint": "",
"jwks_uri": "https://connect.test.surfconext.nl/oidc/certs",
"response_types_supported": [
"code",
Expand Down
Loading