Skip to content

fix: align session credential validation - #69

Merged
nkavian merged 1 commit into
aep-foundation:mainfrom
nkavian:fix/session-credential-values
Nov 10, 2026
Merged

nkavian merged 1 commit into
aep-foundation:mainfrom
nkavian:fix/session-credential-values

Conversation

@nkavian

@nkavian nkavian commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Align session credential handling with AEP specifications #58.

  • Preserve API-key values as complete HTTP header values, including Bearer and Basic presentations, while rejecting unsafe header characters.
  • Accept case-insensitive OAuth token types and empty Basic usernames, passwords, and realms.
  • Allow configured API-key handlers to verify those presentations and reject ambiguous credential matches.
  • Update documentation and regression tests for credential issuance, presentation, and revocation.
  • Refresh the bundled specification artifacts and include patch changesets.

Validation

  • pnpm verify
  • pnpm check-publish
  • pnpm conformance:agent --specs-dir ../aep-specs
  • pnpm conformance:service --specs-dir ../aep-specs
  • pnpm conformance:platform --specs-dir ../aep-specs
  • pnpm changeset status --since=origin/main

@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nkavian
nkavian merged commit ae0d538 into aep-foundation:main Nov 10, 2026
5 checks passed
@nkavian
nkavian deleted the fix/session-credential-values branch November 10, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant