Skip to content

Conversation

@massi-ang
Copy link

Issue #, if available:
Resolves #109

Description of changes:
Added a new optional parameter in the request_access_token decorator to support passing custom parameters to the authorizer endpoint of the credential provider.

This allow to use the decorator with credential providers like Auth0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented Oct 8, 2025

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@eee67da). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/bedrock_agentcore/services/identity.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #110   +/-   ##
=======================================
  Coverage        ?   89.46%           
=======================================
  Files           ?       23           
  Lines           ?     2306           
  Branches        ?      331           
=======================================
  Hits            ?     2063           
  Misses          ?      139           
  Partials        ?      104           
Flag Coverage Δ
unittests 89.46% <90.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Support for Auth0 credential provider when using the request_access_token decorator and for Identity.get_token

2 participants