<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web API call creating sessions</title><link>https://community.appian.com/discussions/f/administration/10705/web-api-call-creating-sessions</link><description>While calling an Appian WEBAPI from javascript in the web browser , a session for basic user( HTTP BAsic AUth Credentials used t call the service ) is established and when you redirect to appian , you login with that basic user. 
 Can anyone suggest possible</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46787?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 13:22:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d47b5b24-9364-497d-814a-54a756ad6be6</guid><dc:creator>PhilB</dc:creator><description>To call a Web API requires a session, but it seems to me the issue here is that the session that&amp;#39;s created persists for some time after the call is made, so &lt;a href="/members/sambhavj"&gt;sambhavj&lt;/a&gt; is looking for a way to kill that session once the call has been made.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46785?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 12:47:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1efd10e5-9b02-45c8-aa2c-e12df9374214</guid><dc:creator>Shyam Bommakanti</dc:creator><description>Per Mike Webapi always has session. &lt;br /&gt;
An alternate is to have stateless custom servlet plugin, documentation:&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/17.2/Custom_Servlet_Plug-ins.html"&gt;docs.appian.com/.../Custom_Servlet_Plug-ins.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46780?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 10:40:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:429b9e67-fc47-43fe-a662-7f39dbadf1af</guid><dc:creator>PhilB</dc:creator><description>I posted this on another thread where you&amp;#39;ve asked the same question, but if you&amp;#39;re looking to kill the session you&amp;#39;ve established, would a call to https://&amp;lt;site url&amp;gt;/suite/logout do it?&lt;br /&gt;
&lt;br /&gt;
That said, &lt;a href="/members/stefanh791"&gt;Stefan Helzle&lt;/a&gt; is right - this all sounds like a bad idea.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46770?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 09:21:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5334bcce-e906-4b30-95aa-dadb94fd405f</guid><dc:creator>Stefan Helzle</dc:creator><description>Just a small security question. Does this mean you store unencrypted credentials in the users browser? Doing a direct call from the browser would require that. Am I wrong? If this is the case I strongly suggest to not do that.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46766?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 07:34:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96af7e9b-52ed-4c82-8eb6-50a9e3db11ee</guid><dc:creator>gayatriv55</dc:creator><description>One thing you can do, is clearing cache and cookies on every click of the service call once you will receive the output. Don&amp;#39;t know it is feasible or not!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46765?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 07:34:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc3dcfae-4844-442b-a09f-97b1cfff7adc</guid><dc:creator>sambhavj</dc:creator><description>SO there is no work around to it , limiting the session scope or making services stateless?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46764?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 07:32:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d69bbda-4f3a-4595-a479-e615946164c9</guid><dc:creator>gayatriv55</dc:creator><description>Yes that is the expected behavior of Appian I think. Becasue we are also facing same thing. Logically to call Appian service you are logging into Appain virtually, so if you will open Appian it will login directly with the service account.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46763?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 07:11:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32d216a8-17ed-482b-bd39-e743fd782325</guid><dc:creator>sambhavj</dc:creator><description>Yes the problem we are facing is there is an Appian web service call in the Html page , before the point we redirect to appian , so while calling that web service it is creating a service user session , and when we redirect it logins to service user account , without doing SSO&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46762?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 07:04:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82cd8f70-0afa-4e78-bdc6-5862240b57fe</guid><dc:creator>gayatriv55</dc:creator><description>@sambhavj, Didn&amp;#39;t understand your comment above exactly. SSO implementation bypass the Appain login page. which means you will be directly login into the Appian via SSO with the Appian account which you are using for SSO.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46761?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 06:59:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c9fec9b-3ebf-4b88-93c8-c9a5eeeebd03</guid><dc:creator>sambhavj</dc:creator><description>We tried removing the cookie using JavaScript but that doesn&amp;#39;t work&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46760?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 06:58:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5adb19bf-111a-40f7-80ed-b892eacd7a8e</guid><dc:creator>sambhavj</dc:creator><description>We are redirecting through SSO , but when there is a session for the service user it bypasses the SSO&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46743?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 15:49:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d5a0144-c4a0-4cfb-8d57-7dc5ab894be4</guid><dc:creator>gayatriv55</dc:creator><description>Can you please explain how you are redirecting to Appian? like SSO/Embedded Sail?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46742?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 15:47:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a90589a-a640-4d61-b1e0-b2b4e2e23047</guid><dc:creator>gayatriv55</dc:creator><description>Ideally Web API should not create any session for Appian.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web API call creating sessions</title><link>https://community.appian.com/thread/46735?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2017 14:42:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9483de8d-e586-4c2d-b3b6-5892c0c702c2</guid><dc:creator>Mike Cichy</dc:creator><description>There is no way to avoid creating a session.&lt;br /&gt;
Why not remove the session cookie for the redirect?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>