Understanding the session lifecycle across a multi-tiered architecture is critical for maintaining stable connectivity in Appshare. This is especially true for mobile workers using devices that frequently enter sleep states or transition between Wi-Fi/Mobile access points.

When Appshare is deployed behind an authentication proxy (AWS ALB, F5, NetScaler) with an Identity Provider (Azure EntraID, Okta) and an Identity Broker (Transparent Logon) connecting to JD Edwards (AIS/JAS), a timeout at any single layer can break the authentication chain.

If timeouts are misaligned, or if proxies intercept API requests improperly during a timeout, Appshare (Progressive Web App) can become unresponsive, requiring the user to force-close the browser and authenticate from scratch.


Architecture Overview

The SSO and session management infrastructure relies on a specific sequence of validations between the user's device and the backend JDE environments.

The request flow is governed by the following core components:


The Session Chain

For a user to remain seamlessly authenticated, all components in the chain must maintain their active sessions. Because Appshare does not hold the IdP session, it cannot silently renew the proxy session if it expires.

Component Session / Token Type Key Timeout Settings Role in Lifecycle
Identity Provider (IdP) OAuth / OIDC Session Session Lifetime, Refresh Token Lifetime The root identity authority (Azure EntraID, Okta). Provides initial authentication and refresh tokens for silent renewal.
Authentication proxy TCP/HTTP Session Cookie Session Timeout, Idle Timeout Authentication proxy and load balancer (AWS ALB, F5, NetScaler). Maintains the established OAuth session with the IdP. Validates device traffic before passing it to the backend.
Appshare (PWA) Client-Side State Auth Token Expiry Maintains the UI. Relies on valid background tokens to fetch data.
Transparent Logon Identity Broker Session OAuth Access Token, Refresh Token Translates identity provider into JDE-compatible authentication.
JDE AIS Server JDE AIS Session Token Session Timeout, Time-to-Live (TTL) Processes Appshare API requests. Token expires based on idle time or absolute TTL. The AIS token is acquired with the Transparent Logon access token.
JDE JAS Server HTTP Web Session Web Session Timeout Processes the actual transactions (cycle counts) passed from AIS.

Common Failure Modes & Intermittent Disconnects

When mobile devices (like scanners or phones) are used in the field, they frequently encounter environmental factors that disrupt this session chain.