Invoking a Web API when not logged into Appian

How does Appian handle web api requests when the user is not logged in?

 

Is there a way to direct the user to the login page when trying to access a web api when they are not logged in?

 

Currently with IE it's prompting: "Do you want to save <web api params> from <appianUrl>" 

 

Thanks!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Hi as per my understanding, WEB-API is meant for exposing Appian Data outside the world. When a 3rd Party System wants to interact with Appian Data/Process then need to make the use of Web-API where they can pass the required parameter/body of API (if any)


    While invoking WEB-API from third party system, they need to use Basic Authentication to avoid HTTP Error 401: Unauthorized, but Web-API is not meant for redirection to login page.

    In order to achieve login requirement, you need to build Servlet-Plugin which can redirect you to login page.

    Hope this will help you.
Reply
  • 0
    Certified Lead Developer
    Hi as per my understanding, WEB-API is meant for exposing Appian Data outside the world. When a 3rd Party System wants to interact with Appian Data/Process then need to make the use of Web-API where they can pass the required parameter/body of API (if any)


    While invoking WEB-API from third party system, they need to use Basic Authentication to avoid HTTP Error 401: Unauthorized, but Web-API is not meant for redirection to login page.

    In order to achieve login requirement, you need to build Servlet-Plugin which can redirect you to login page.

    Hope this will help you.
Children
No Data