Skip to content

TypeScript API / @laikacms/server/oauth2 / getAuthorizationPageHTML

Function: getAuthorizationPageHTML() ​

ts
function getAuthorizationPageHTML(authUrl, options?): AuthorizationPageResult;

Get the authorization page HTML with custom logo support

Parameters ​

ParameterType
authUrlstring
options?AuthorizationPageOptions

Returns ​

AuthorizationPageResult

Object with html string and imgSrc array for CSP

Released under the MIT License.