Skip to content

feat(auth): add OAuth2 client credentials support (alpha) - #8486

Merged
leandrodamascena merged 8 commits into
aws-powertools:developfrom
bfreiberg:feat/auth-alpha-oauth2-8466
Sep 30, 2026
Merged

leandrodamascena merged 8 commits into
aws-powertools:developfrom
bfreiberg:feat/auth-alpha-oauth2-8466

docs(auth): shorten OAuth2 and JWT guidance

b81815d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 30, 2026 in 1m 29s

Annotations

Check failure on line 113 in aws_lambda_powertools/utilities/auth_alpha/oauth2/client.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDvqhSk3f2ysA7ZGIWP&open=AaDvqhSk3f2ysA7ZGIWP&pullRequest=8486

Check warning on line 226 in tests/integration/auth_alpha/oauth2/test_provider_contracts.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDvqhK53f2ysA7ZGIWN&open=AaDvqhK53f2ysA7ZGIWN&pullRequest=8486

Check failure on line 55 in aws_lambda_powertools/utilities/auth_alpha/_internal/transport.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make parameter self keyword-or-positional. This method overrides io.RawIOBase.readinto.

See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDTbKKcYguKrrCATol_&open=AaDTbKKcYguKrrCATol_&pullRequest=8486

Check failure on line 28 in examples/auth_alpha/oauth2/src/diagnostics.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Inventory request unavailable" 3 times.

See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDTbKFgYguKrrCATol-&open=AaDTbKFgYguKrrCATol-&pullRequest=8486

Check warning on line 262 in tests/integration/auth_alpha/oauth2/test_provider_contracts.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDvqhK53f2ysA7ZGIWO&open=AaDvqhK53f2ysA7ZGIWO&pullRequest=8486