Skip to main content
March 16, 2022
Solved

Connecting to Open API with authentication required for each request

  • March 16, 2022
  • 3 replies
  • 0 views

Hi,

We are using microservices architecture in our enterprise and all data related tasks are performed using rest APIs.

These Rest API are using OAuth 2.0 for authentication purpose and we require a new JWT token for each request.

Can we generate new token in Appian Open API connected service for each request (as token is valid for certain period) to implement client credential or authorization code flows? 

    Best answer by stefanhelzle0001

    Did you read this? docs.appian.com/.../Oauth_connected_system.html

    3 replies

    stefanhelzle0001
    Brainy
    March 16, 2022

    Depending on your concrete setup, the connected system can do that for you automatically.

    March 16, 2022

    Thanks Stefan,

    I was exploring Open API connected system and i provided swagger documentation and base address for API it is asking value for Authorization header during design but in our case we need to generate value for authorization header each time when request made to api methods based on sign-in user. 

    Is there any implementation documentation available in Appian for this type of scenario. In our case Rest API will always require a Bearer token for authentication and authentication provider will generate token based on the logged in user.

    stefanhelzle0001
    Brainy
    March 16, 2022