Skip to main content

StorefrontAuthenticationSettings

Based on the authenticationType, these settings can have different shapes, but this type is all encompassing.

type StorefrontAuthenticationSettings {
externalCustomerIdFieldName: String
issuer: String!
jwksUrl: String
}

Fields

StorefrontAuthenticationSettings.externalCustomerIdFieldName ● String scalar

Required for authenticationType JWKS. This is the name of the field containing the customerId, normally 'sub'

StorefrontAuthenticationSettings.issuer ● String! non-null scalar

Required for authenticationType COGNITO or JWKS. This indicates the issuer of the JWT.

StorefrontAuthenticationSettings.jwksUrl ● String scalar

Required for authenticationType JWKS. This is the URL of the JWKS endpoint.

Member of

Storefront object