Skip to main content
Version: Next

WebMessageResponse

Home > @backstage/plugin-auth-node > WebMessageResponse

Payload sent as a post message after the auth request is complete. If successful then has a valid payload with Auth information else contains an error.

Signature:

export type WebMessageResponse = {
type: 'authorization_response';
response: ClientAuthResponse<unknown>;
} | {
type: 'authorization_response';
error: Error;
};

References: ClientAuthResponse