Skip to content

TypeScript API / @laikacms/server/oauth2 / renderErrorPage

Function: renderErrorPage() ​

ts
function renderErrorPage(options): ErrorPageResult;

Render the OAuth error page HTML

Parameters ​

ParameterType
optionsErrorPageOptions

Returns ​

ErrorPageResult

Object with html string and imgSrc array for CSP

Released under the MIT License.