Skip to content

Identity

Arc identity support composes domain-specific details from an authenticated request principal and presents them to frontend clients. It does not modify or validate the provider’s token. Authentication, pipeline authorization, and identity presentation are separate concerns.

Provider identities often lack application-specific display information. Arc lets you compose it in the backend and publish a consistent frontend payload. A details provider can make an application-entry decision during fresh enrichment, but cached cookie results bypass recomputation. Protect commands and queries independently with pipeline authorization.

Key capabilities:

  • Enrich provider identity with domain-specific details
  • Supply an application-entry decision during fresh enrichment
  • Return a single consolidated identity payload
  • Present cached details to frontend clients

No

Yes

Authenticated Request Principal

Fresh Identity Enrichment

Authorized?

HTTP 403

Identity Details JSON

.cratis-identity Cookie

Frontend Identity Consumption

TopicDescription
Provider FlowEndpoint mapping, provider implementation, request flow, and frontend cookie integration.
Identity ContractsIdentityProviderContext and IdentityDetails structures used by providers.
IdentityProvider ServiceAdvanced runtime identity retrieval and mutation with IIdentityProvider.
Development and TopologiesDevelopment endpoints plus single-service and multi-service composition patterns.