NylasConnect.isAutoCallbackEnabled()
checks if automatic callback handling is enabled. When enabled, the Nylas Connect library automatically processes OAuth callbacks when the page loads.
const autoCallbackEnabled = nylasConnect.isAutoCallbackEnabled();
Return value
Section titled “Return value”The isAutoCallbackEnabled()
method returns a boolean. When true
, it indicates that automatic callback handling is enabled.