Skip to main content
Version: Next

PassportHelpers.executeRedirectStrategy()

Home > @backstage/plugin-auth-node > PassportHelpers > executeRedirectStrategy

Signature:

static executeRedirectStrategy(req: Request, providerStrategy: Strategy, options: Record<string, string>): Promise<{
url: string;
status?: number;
}>;

Parameters

Parameter

Type

Description

req

Request

providerStrategy

Strategy

options

Record<string, string>

**Returns:**

Promise<{ url: string; status?: number; }>