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

Allow using custom ports in endpoints without using testing=True, as discussed in #55 #74

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

guillp
Copy link
Owner

@guillp guillp commented Sep 19, 2024

  • Remove the check for custom port in endpoint uri validation.
  • Validate the issuer and/or url values before doing any HTTP request in OAuth2Client.from_discovery_endpoint(), unless testing=True is used.
  • if testing=True, don't try to validate the jwks_uri in OAuth2Client.from_discovery_document()

…s discussed in #55:

 - Remove the check for custom port in endpoint uri validation.
- Validate the `issuer` and/or url values before doing any HTTP request in `OAuth2Client.from_discovery_endpoint()`, unless `testing=True` is used.
- if `testing=True`, don't try to validate the `jwks_uri` in `OAuth2Client.from_discovery_document()`
@guillp guillp changed the title Allow using custom ports in endpoints without using testing=True, as discussed in #55: - Remove the check for custom port in endpoint uri validation. - Validate the issuer and/or url values before doing any HTTP request in OAuth2Client.from_discovery_endpoint(), unless testing=True is used. - if testing=True, don't try to validate the jwks_uri in OAuth2Client.from_discovery_document() Allow using custom ports in endpoints without using testing=True, as discussed in #55 Sep 19, 2024
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (4962599) to head (e55b3e7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #74   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         1683      1688    +5     
=========================================
+ Hits          1683      1688    +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@guillp guillp merged commit ab12289 into main Sep 19, 2024
8 checks passed
@guillp guillp deleted the bugfix/custom_ports branch September 19, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants