Skip to main content
Version: Next

OAuthHandlers.handler()

Home > @backstage/plugin-auth-backend > OAuthHandlers > handler

Handle the redirect from the auth provider when the user has signed in.

Signature:

handler(req: express.Request): Promise<{
response: OAuthResponse;
refreshToken?: string;
}>;

Parameters

Parameter

Type

Description

req

express.Request

**Returns:**

Promise<{ response: OAuthResponse; refreshToken?: string; }>