Skip to content

Application Access#2720

Merged
simonredfern merged 7 commits intoOpenBankProject:developfrom
simonredfern:develop
Mar 5, 2026
Merged

Application Access#2720
simonredfern merged 7 commits intoOpenBankProject:developfrom
simonredfern:develop

Conversation

@simonredfern
Copy link
Member

No description provided.

This global flag allowed consumer scopes as an alternative to user
entitlements for ALL endpoints. It has been replaced by per-endpoint
EndpointAuthMode on ResourceDoc with four modes:
- UserOnly (default) — user entitlement required
- ApplicationOnly — consumer scope required, no user needed
- UserOrApplication — consumer scope OR user entitlement
- UserAndApplication — consumer scope AND user entitlement
  Migration: add authMode = UserOrApplication to individual ResourceDoc
  instances that previously relied on allow_entitlements_or_scopes=true.
  The verifyUserCredentials endpoint is the first to use
  UserOrApplication.
  require_scopes_for_all_roles and require_scopes_for_listed_roles are
  unaffected and continue to work.
@simonredfern simonredfern merged commit e9ebb7c into OpenBankProject:develop Mar 5, 2026
1 check passed
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2026

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.

1 participant