<?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>OAuth 2.0 code grant authentication</title><link>https://community.appian.com/discussions/f/integrations/20775/oauth-2-0-code-grant-authentication</link><description>I am currently using OAuth 2.0 code grant authentication to connect to external system. I am able to generate token as pass it as an authorization header to the external system. But the problem is I am using connected system to get the access token but</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: OAuth 2.0 code grant authentication</title><link>https://community.appian.com/thread/82203?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 07:54:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:435c5ab8-85da-4199-a4b8-7be78dcc0e8f</guid><dc:creator>girikumard</dc:creator><description>&lt;p&gt;Thank you. Reducing the expiry might not work as user could click multiple saves with in that expiry.&lt;/p&gt;
&lt;p&gt;Other option -&amp;nbsp;&lt;span&gt;deactivate access token once it is used sounds good if it is possible. will check with AD team&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OAuth 2.0 code grant authentication</title><link>https://community.appian.com/thread/82202?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 07:50:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c12d1e4d-5c7a-4fa4-8bf1-c997410ba3e6</guid><dc:creator>jagadeesh</dc:creator><description>&lt;p&gt;I think this can be managed at&amp;nbsp;&lt;span&gt;Azure AD itself. Reduce the expiry time or deactivate access token once it is used. Try checking with AD team&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OAuth 2.0 code grant authentication</title><link>https://community.appian.com/thread/82200?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 06:50:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1d474f4-6c74-48e9-840f-634bf22dab3d</guid><dc:creator>girikumard</dc:creator><description>&lt;p&gt;okay.&lt;/p&gt;
&lt;p&gt;My actual use case is - I need to authorize the user against Azure AD every time he click on a save button. I am able to authorize for the first time using by a connected system using&amp;nbsp; OAuth 2.0&amp;nbsp;&lt;span&gt;Authorization Code Grant by receiving an access-token and this&amp;nbsp;access token has an expiry of 15 mins. So all the sub-sequent integration calls are getting authenticated for next 15 mins but I want to restrict it and force the user to re-authenticate again via the connected system&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OAuth 2.0 code grant authentication</title><link>https://community.appian.com/thread/82199?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 06:35:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fd4805b-39cf-4a22-8c3b-d56fb248c793</guid><dc:creator>jagadeesh</dc:creator><description>&lt;p&gt;No. I didn&amp;#39;t get a solution to get connected system output into variable. We are able to overcome this issue by configuring Azure AD to generate only one token rather than 2 tokens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OAuth 2.0 code grant authentication</title><link>https://community.appian.com/thread/82198?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 06:21:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d681e06a-5ae4-45c6-b304-52b386ec2204</guid><dc:creator>girikumard</dc:creator><description>&lt;p&gt;Hello Jagadeesh !&lt;/p&gt;
&lt;p&gt;Have u found any solution to your above questions ?&lt;/p&gt;
&lt;p&gt;I also need to extract connected system response into a variable. Please do let me know if you have a solution ? TIA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OAuth 2.0 code grant authentication</title><link>https://community.appian.com/thread/81825?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 06:31:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a44f06f5-3a3d-4c4e-9365-96f4aee4929f</guid><dc:creator>vamsi krishna</dc:creator><description>&lt;p&gt;Hi Jagadeesh,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As mentioned in the Integration object designer for the third option,&amp;nbsp;&lt;/p&gt;
&lt;div class="FieldLayout---input_below"&gt;
&lt;blockquote&gt;
&lt;div class="FieldLayout---field_instructions FieldLayout---above" id="77b954618e1ed15dffc0b37ddfcce52a-instructions"&gt;Default headers will be added to the request automatically. Add headers here to override or extend the default headers. Tip: Test the request to see which headers are being added before adding your own.&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>