HomeGuidesAPI ReferenceChangelog
Log In
Changelog
Added

[Plug] Token Storage - PSEG Long Island

The TokenStorage Multi-Factor Authentication (MFA) solution for PSEG Long Island (PSEG LI) is designed to securely store & re-use session cookies to login to utility credentials. While token validity varies by utility, for PSEG LI, session storage allows uninterrupted energy data access for 1 year without requiring repeated MFA.

⚙️ How it Works? When a user authenticates via MFA, the utility provider issues a session token. Arcadia stores this token to maintain sustained access to the credential. Because these tokens have a finite lifespan—ranging from a few weeks to several months—they eventually expire. For PSEG LI, the token is valid for 1 year.

When a token expires, the credential moves into a MULTI_FACTOR_AUTHENTICATION_REFRESH_REQUIRED state, signaling that a new MFA handshake is needed to generate a fresh token.

Refer to Token storage guide for more information on the solution.