Skip to content

Conversation

@moritzraho
Copy link
Member

@moritzraho moritzraho commented Jan 19, 2026

Description

The @adobe/aio-lib-core-auth library should be preferred in the Runtime action context:

  • it focuses on generating OAuth tokens, doesn't rely on the complex context/plugin logic used for the CLI and doesn't bring the deprecated JWT tokens logic.
  • it relies on in-memory caching instead of external State storage, which comes with its own usage limits.
  • @adobe/aio-lib-ims relies on the technical_account_id and technical_account_email fields. Those fields are not needed to generate the token.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

4 participants