Embedded analytics SDK API
    Preparing search index...

    Type Alias MetabaseAuthConfigWithJwt

    MetabaseAuthConfigWithJwt: { metabaseInstanceUrl: string } & {
        apiKey?: never;
        fetchRequestToken?: MetabaseFetchRequestTokenFn;
        isGuest?: false;
        jwtProviderUri?: string;
        preferredAuthMethod?: "jwt";
    }

    Type Declaration

    • metabaseInstanceUrl: string
    • OptionalapiKey?: never
    • OptionalfetchRequestToken?: MetabaseFetchRequestTokenFn

      Specifies a function to fetch the refresh token. The refresh token should be in the format of UserBackendJwtResponse

    • OptionalisGuest?: false
    • OptionaljwtProviderUri?: string

      Uri of the jwt provider. If provided the sdk will use jwt and will skip the first /auth/sso discovery request.

    • OptionalpreferredAuthMethod?: "jwt"

      Which authentication method to use. If both SAML and JWT are enabled at the same time, it defaults to SAML unless the preferredAuthMethod is specified.