Kottster Packages API Reference
    Preparing search index...

    Interface KottsterAppOptions

    interface KottsterAppOptions {
        identityProvider?: IdentityProvider;
        kottsterApiToken?: string;
        postAuthMiddleware?: PostAuthMiddleware;
        secretKey?: string;
    }
    Index

    Properties

    identityProvider?: IdentityProvider

    The identity provider configuration

    kottsterApiToken?: string

    The Kottster API token for the appen. If not provided, some features that require server-side requests to Kottster API will not work (e.g. sql query generation, AI features, etc.)

    postAuthMiddleware?: PostAuthMiddleware

    Custom validation middleware. This middleware will be called after the JWT token is validated. You can use it to perform additional checks or modify the request object.

    https://kottster.app/docs/security/authentication#custom-validation-middleware
    
    secretKey?: string

    The secret key used to sign JWT tokens