Default Polling Interval and stateCheckingMechanism

Overview

When using Auth0 guardian.js, the default polling interval, the DEFAULT_POLLING_INTERVAL_MS value on the PollingClient, and the stateCheckingMechanism are not configurable.

Applies To

  • SDK
  • Guardian

Cause

With the stateCheckingMechanism being deprecated, the 2 allowable values are polling and manual, as seen in this Auth0 Github page.

Solution

It is recommended that Universal Login be adopted instead of Classic Login, as this library is used in conjunction with Classic Login. The related library guardian.js is only updated for maintenance and there are no feature updates.