Skip to main content

OAuthHandlers

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

Warning: This API is now obsolete.

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

Signature:

export interface OAuthHandlers 

Methods

MethodDescription
handler(req)Handle the redirect from the auth provider when the user has signed in.
logout(req)?(Optional) (Optional) Sign out of the auth provider.
refresh(req)?(Optional) (Optional) Given a refresh token and scope fetches a new access token from the auth provider.
start(req)Initiate a sign in request with an auth provider.