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

sources/oauth: fix OAuth Client sending token request incorrectly #9474

Merged
merged 1 commit into from
Apr 26, 2024
Merged
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 authentik/sources/oauth/clients/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
access_token_url = self.source.source_type.access_token_url or ""
if self.source.source_type.urls_customizable and self.source.access_token_url:
access_token_url = self.source.access_token_url
response = self.session.request(
response = self.do_request(

Check warning on line 83 in authentik/sources/oauth/clients/oauth2.py

View check run for this annotation

Codecov / codecov/patch

authentik/sources/oauth/clients/oauth2.py#L83

Added line #L83 was not covered by tests
"post", access_token_url, data=args, headers=self._default_headers, **request_kwargs
)
response.raise_for_status()
Expand Down
Loading