i have created an WebApi which gets the data from a database, i have the URL(Web) which gets the data,
now what am trying to do is if i give this URL to the users and provide an service account , the user should be able to access this URL (Data), how can i achieve this, please suggest how on accessing the URL it asks the credentials and shows the data.(the users can be who dont have access to Appian or who has)
thanks in advance
Any user that has Viewer permission for the web API should be able to make a request to the API.See this documentation for more info: https://docs.appian.com/suite/help/19.1/Web_APIs.html#security
Well that user need access as viewer to other objects used on the web api like the data store if querying to the DB
Yep, good point. Anything you are doing on the back-end you would have to confirm the calling user has access to like data store for querying the database or a process model if you are starting a process off.
Your users need a REST client that can invoke the proper authorization parameters preemptively.
Right now a user cannot do this in the browser alone, without a client.
Try CURL or soapUI
Discussion posts and replies are publicly visible
© 2019 Appian. All rights reserved.