Type Alias: OrgStateInfo

OrgStateInfo: object

Represents the authentication state and reason for a Salesforce org.

Multi-org Context: Each org in a multi-org configuration has its own OrgStateInfo tracked in the orgStates map of BootstrapResponse and LogoutResponse.

Type declaration 

reason 

reason: string

Required. The reason for the current state.

redirectOrigin? 

optional redirectOrigin: string

The origin extracted from redirectUrl (only present when redirectUrl is provided).

redirectUrl? 

optional redirectUrl: string

The redirect URL for authentication (only present when state is AUTH_REDIRECT).

state 

state: string

Required. The current authentication state of the org.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!