Skip to content

ScimExceptionFilter

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/apps/api/src/scim/scim-exception.filter.ts

Formats every error thrown within the SCIM controllers (including from ScimAuthGuard) as an RFC 7644 SCIM error body with the application/scim+json content type. Without this, guard/validation failures would leak Nest's default JSON error shape, which some IdP connectors reject.

Implements: ExceptionFilter

Methods

MethodSignatureReturns
catchcatch(exception: unknown, host: ArgumentsHost)void

Was this page helpful?

Download as PDF