registerBrowserApp

Function

Register an Item as an application, enabling oAuth flows at custom domains. Only item types with "Application" in the name are valid with this API call.

  • registerBrowserApp(itemId: string, redirectUris: string[], requestOptions: IRequestOptions) : any

Parameters

Parameter Type Default Notes
itemId Required string

Item Id of item to create an application for

redirectUris Required string[]

Array of valid redirect uris for the app

requestOptions Required IRequestOptions

Available requestOptions

Property Type Notes

Returns

any

Function defined in sites/src/register-browser-app.ts:14