Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

2.6 KB
Raw Blame
type MetabaseAuthConfigWithJwt = {
  metabaseInstanceUrl: string;
} & {
  apiKey?: never;
  fetchRequestToken?: MetabaseFetchRequestTokenFn;
  isGuest?: false;
  jwtProviderUri?: string;
  preferredAuthMethod?: "jwt";
};

Type Declaration

Name Type
metabaseInstanceUrl string

Type Declaration

Name Type Description
apiKey? never -
fetchRequestToken? MetabaseFetchRequestTokenFn Specifies a function to fetch the refresh token. The refresh token should be in the format of UserBackendJwtResponse
isGuest? false -
jwtProviderUri? string Uri of the jwt provider. If provided the sdk will use jwt and will skip the first /auth/sso discovery request.
preferredAuthMethod? "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.