Skip to content
mercury framework
GitHub

LoginRequired

LoginRequired = { authorizeUrl: string; error: string; loginRequired: true; ok: false; service: string; } | { error: string; ok: false; }

Defined in: types/plugin-types/index.ts:232

What a tool returns when its person has to log in first. The channel shows authorizeUrl (see the channel contract’s detectLoginRequired); the model only reads error, which never contains the link.