Skip to main content

Interface: CognitoUserPoolConfig

Defined in: http-server-oauth/src/index.ts:124

Amazon Cognito user pool configuration for JWT verification.

Properties

clientId

clientId: string

Defined in: http-server-oauth/src/index.ts:133

The app client ID registered in the User Pool.


tokenUse?

optional tokenUse?: "access" | "id"

Defined in: http-server-oauth/src/index.ts:131

Which token type to verify.

Default

'access'

userPoolId

userPoolId: string

Defined in: http-server-oauth/src/index.ts:126

The Cognito User Pool ID (e.g. us-east-1_abc123).