---
title: "Addon seams | FoxAuth"
description: "The behaviour functions a deployment may replace at call time through the override registry."
canonical: "https://foxauth.dev/docs/reference/addon-seams/"
lastmod: "2026-10-09T16:54:21+03:00"
---
Addon seams

Documents unreleased changes made after v1.1.0 (commit 16f191bb)

This page is generated from the main branch. The published image
ghcr.io/redfox-soft/oauth-server-ts:latest is v1.1.0
and may not have everything listed here.

Each seam has a default in lib/addon/ and is resolved through the override registry every time it is called, so an override registered at bootstrap takes effect regardless of module load order.

Overriding a seam

import { addons } from 'oauth-server-ts/lib/addon/index.js';

addons.override({

findAccount: async (oidc, id) => myDirectory.lookup(id)

});

assertJwtClientAuthClaimsAndHeader
loadExistingGrant
findAccount
expiresWithSession
issueRefreshToken
pairwiseIdentifier
rotateRefreshToken
idFactory
secretFactory
defaultResource
useGrantedResource
getResourceServerInfo
sectorIdentifierUriValidate
assertClaimsParameter
assertJwtClaimsAndHeader
deviceInfo
interactionPolicy
introspectionAllowedPolicy
getCertificate
certificateAuthorized
certificateSubjectMatches
triggerAuthenticationDevice
validateBindingMessage
validateRequestContext
processLoginHintToken
processLoginHint
verifyUserCode
rarForAuthorizationCode
rarForCodeResponse
rarForRefreshTokenResponse
rarForIntrospectionResponse

PreviousMCP toolsNextEnvironment variables
