Skip to main content

OAuthAdapterOptions

Home > @backstage/plugin-auth-backend > OAuthAdapterOptions

Warning: This API is now obsolete.

Use createOAuthRouteHandlers from @backstage/plugin-auth-node instead

Signature:

export type OAuthAdapterOptions = {
providerId: string;
persistScopes?: boolean;
appOrigin: string;
baseUrl: string;
cookieConfigurer: CookieConfigurer;
isOriginAllowed: (origin: string) => boolean;
callbackUrl: string;
};

References: CookieConfigurer