Skip to main content
March 31, 2022
Question

OAuth2.0 in webapi

  • March 31, 2022
  • 2 replies
  • 0 views

Aim is to implement Web APIs authenticated by an OAuth 2.0 client in appian.

1.I have created a sample WebAPI.

2. I have created a OAuth credentials from adminconsole.  AdminConsole->Web API Authentication->OAuthclients2.0

 If i try to access the webapi from browser it is accessible without authorisation. How to integrate this OAuth with my API. is there any attribute needs to be added in appian webapi.?

Kindly help.

    2 replies

    mike.cichy
    Employee
    April 21, 2022

    Try using incognito mode - when you are logged in with a browser with your admin credentials, the API will open using your session. So it is authorizing, just not the way you want it. You will have to test it out from an external tool like Postman or soap ui.

    April 22, 2022

    I would suggest you to use postman which is easy to test