Skip to main content
Known Participant
Mar 31, 2022 12:18 PM UTC
Question

OAuth2.0 in webapi

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
    Apr 21, 2022 4:25 PM UTC

    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.

    Inspiring
    Apr 22, 2022 2:14 AM UTC

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