Skip to content

Commit

Permalink
APIToolAuthClient: Allow to pass pkce parameters with client secret (#…
Browse files Browse the repository at this point in the history
…651)

### Description

Postman and Swagger now always pass PKCE parameters in auth request
using a client secret

Co-authored-by: Foucauld Bellanger <[email protected]>
  • Loading branch information
foucblg and foucblg authored Jan 8, 2025
1 parent cd621b7 commit 535e18f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/utils/auth/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class APIToolAuthClient(BaseAuthClient):
"""

allowed_scopes: set[ScopeType | str] = {ScopeType.API}
allow_pkce_with_client_secret: bool = True


class NextcloudAuthClient(BaseAuthClient):
Expand Down

0 comments on commit 535e18f

Please sign in to comment.