Auth State Manager

Auth State Manager activity is used for following purposes –

  1. Provides the authentication values  such as LoginId & Password passed during the environment setup window in the Automation Studio or by Credential Manager when the Robot executes the process.
  2. It also provides the Token related attributes after successful authentication.

 

Using Auth State Manager Activity

  1. In the Canvas Tools pane, click Auth Types to expand the tool and view the associated activities. 
  2. Drag the Auth State Manager activity and drop on to the Flowchart designer area on the Canvas.


     

    NOTE: 

    • The Auth State Manager activity can be used anywhere within the process.
    • For storing the attributes of LoginId and Password, this activity should be used before these values are passed to the interactive login window.
  3. In the Application list, select the preferred application from the available options. You must have at least one application added for it to appear in the list. For more information, see Prerequisites section. 
  4. In the Select Auth Attributes list, select the preferred Auth attributes from the available options.
    • The list of attributes changes based on the Modern Authentication Type configured for the Application selected in the previous step.
      • OAuthAuthorizeFlow & OAuthAuthorizeFlowWithPKCE
        • LoginId
        • Password
        • AccessToken
        • RefreshToken
        • AccessTokenValidity
      • OAuthImplicitFlow
        • LoginId
        • Password
        • AccessToken
        • AccessTokenValidity
      • OAuthClientCredentialFlow
        • AccessToken
        • AccessTokenValidity
      • OAuthROPCFlow
        • AccessToken
        • RefreshToken
        • AccessTokenValidity
      • TOTP
        • LoginId
        • Password
        • OTP
           

          NOTE: 

          For getting the value of Refresh Token, based on the flow selected, the scope should include offline_access.

  5. In the Select Input/Output Argument, select the configured input or output argument which stores the selected Attribute.