Developer Centre

Authentication and authorization

Security mechanisms for Canadian open finance implementations. Classifications distinguish verified FDX practice, Canadian framework expectations, optional mechanisms, and illustrative patterns.

MechanismClassSummary
OAuth 2.0verified_fdxAuthorization framework used by FDX-style open finance APIs. Confirm exact grant profiles in authorized FDX materials.
OpenID ConnectoptionalIdentity layer on OAuth used in many deployments. Applicability depends on FDX/Canadian profile choices.
Financial-grade API security profilesverified_fdxFAPI security profiles commonly referenced by FDX ecosystems. Treat as FDX/security baseline pending Canadian profile pin.
Authorization Code + PKCEverified_fdxBrowser/public-client safe authorization code flow with PKCE. Illustrative sequences in Developer Centre use synthetic values.
Pushed Authorization Requests (PAR)optionalPushes authorization parameters to the AS before redirect. Include when required by the applicable FDX/FAPI profile.
Client authenticationverified_fdxConfidential client authentication to the token endpoint. private_key_jwt / tls_client_auth options depend on profile.
Mutual TLSoptionalClient certificate authentication and/or sender-constraining. Often used with FAPI; confirm Canadian profile.
Sender-constrained access tokensverified_fdxBinds tokens to the client (mTLS or DPoP). Mechanism choice is profile-dependent.
DPoPoptionalDemonstrating Proof-of-Possession for sender-constrained tokens. Illustrative unless mandated by the applicable profile.
JWT and digital signaturesverified_fdxSigned JWTs for client auth and optionally request objects. Never publish real private keys or production tokens.
JWK / JWKSverified_fdxPublic key publication and discovery. Rotation and revocation procedures are operational requirements.
Participant identitycanadian_requirementIdentify participating entities; future BoC registry is authoritative when in force. Do not invent registry identifiers.
Certificate issuance and lifecycleillustrativeIssuance, renewal, revocation patterns for ecosystem trust. Canadian trust-anchor details pending profile/ops guidance.
Trust anchorsillustrativeRoots of trust for participant certificates. Illustrative until Canadian trust framework details are published.
Software registrationillustrativeRegister client applications / software statements. Exact registration authority model is not assumed from UAE Hub patterns.
Credential rotationillustrativeRotate signing keys and certificates without downtime. Operational best practice; confirm mandated intervals when published.
Revocationcanadian_requirementConsent and credential revocation paths protecting consumers. Legal consent revocation obligations come from CDB framework materials.
Incident responsecanadian_requirementDetect, contain, and report security incidents. Align with BoC supervisory expectations when finalized.
Auditabilitycanadian_requirementRetain authorization, consent, and access evidence. Evidence packs support assurance without exposing secrets.

End-to-end sequence (synthetic)

sequenceDiagram
  participant DR as DataRecipient_app_9f2a
  participant AS as AuthServer_as.example-bank.ca
  participant DP as DataProvider_api.example-bank.ca
  participant User as Consumer

  Note over DR,User: 1-5 Onboarding / registration (illustrative)
  DR->>AS: Register client (software_id=soft_91c2)
  AS-->>DR: client_id=cli_44be / JWKS registered
  Note over DR,User: 6-8 Consumer authorization + token
  DR->>AS: PAR + Auth Code + PKCE
  User->>AS: Authenticate + consent permissions (read accounts)
  AS-->>DR: code=auth_code_synth_001
  DR->>AS: Token request (private_key_jwt)
  AS-->>DR: access_token=eyJsynth... (sender-constrained)
  Note over DR,DP: 9 API invocation
  DR->>DP: GET /accounts (DPoP/mTLS)
  DP-->>DR: 200 synthetic account payload
  Note over User,AS: 10 Consent revocation + key rotation
  User->>AS: Revoke consent_id=cns_synth_77
  DR->>AS: Rotate signing JWK kid=2026-12-rot

Identifiers, endpoints, certificates, JWTs, and tokens below are synthetic demonstration values only.

Identity and trust → · Sandbox →