<?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>Bearer Token Authentication</title><link>https://community.appian.com/discussions/f/integrations/38040/bearer-token-authentication</link><description>Hi Experts, 
 Third party app admin has provided me API to call along the bearer token to authorize. 
 Kindly suggest if Appian can use such bearer token Authorize the API calls or not if yes then can we use it in our connected system or not, for now</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/154220?ContentTypeID=1</link><pubDate>Fri, 10 Apr 2026 11:41:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21b2fe87-0a7d-44b7-9b64-74d07a882ca0</guid><dc:creator>Beena Venugopal</dc:creator><description>&lt;p&gt;Does this generate new token for each API call? Can you please tell me whats &amp;quot;GenerateBearerToken&amp;quot; doing exactly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143384?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 16:18:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21f475c3-bfd1-405f-a8c2-01e2b469326a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;So this just gets a new token for each API call?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143186?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 23:10:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a980dba6-7e71-427a-8cb6-9c8d4d7c332d</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;I&amp;#39;ve had instances where&amp;nbsp;you need to generate a JWT for a system that does not have a pre-configured CS or the CS doesn&amp;#39;t support certain methods and I want to use a pure HTTPS integration.&lt;/p&gt;
&lt;p&gt;This is usually how I handle it.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1732748837767v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143177?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 15:58:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6042abb2-619c-4c25-bc08-9f41aeafd508</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Ironically I was just working on this issue yesterday and at least for my system, found the correct syntax is passing the header name &amp;quot;Authorization&amp;quot; and value &amp;quot;Bearer *******&amp;quot; where *** = the token string itself (no quotes or single quotes or anything in the evaluated string of course).&lt;/p&gt;
&lt;p&gt;This might vary by system though - for instance, the &amp;quot;bullhorn&amp;quot; personnel system requires the header name to be &amp;quot;BhRestToken&amp;quot; and the token is passed in plainly.&amp;nbsp; Other systems might have different configurations that override the normal default, AFAIK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143176?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 15:56:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:316913f7-da5f-4ee9-90b3-ad11f3b5ca8c</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That&amp;#39;s the correct way. As I describer above, I had an issue with some additional spaces, coming from copy&amp;amp;paste actions. Once cleaned up, the syntax &amp;quot;Bearer jasfz793qgfuaigfu99393&amp;quot; with exactly a single space works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143175?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 15:49:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a285e16d-92d6-4f27-beff-865c68157899</guid><dc:creator>GauravSingh</dc:creator><description>&lt;p&gt;What should the authentication option that we must select to configure in the CS?&lt;/p&gt;
&lt;p&gt;Earlier I thought of using the API key once where Header Name I have put as &amp;quot;Authorization&amp;quot; and in the Value I used &amp;quot;Bearer &amp;#39;Tokenvalue&amp;#39; &amp;quot; , but unfortunately it didn&amp;#39;t worked.&lt;/p&gt;
&lt;p&gt;The token that has been shared is a non-expiring once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143153?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 07:55:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67ca08fa-d9ff-479a-a5d6-d8289195b2c7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yes, I implemented something similar in the past. Just wanted to point out that skipping auth in the CS for no reason might be a bad idea to start with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143135?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 21:43:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a72f0206-38d9-4092-95d3-3bdf7302787d</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="274702" url="~/discussions/f/integrations/38040/bearer-token-authentication/143096"]Why did you not configure authentication in the CS? That&amp;#39;s exactly the right place to do this! I frequently just but the string made of &amp;quot;Bearer + key&amp;quot; into the CS. [/quote]
&lt;p&gt;In the case of the thing I&amp;#39;m trying to build now, I&amp;#39;m not sure this setup will work (though i&amp;#39;d love to be wrong here), as the bearer token is accessed by a call utilizing client id/secret AND username/password, and expires after 24 hours.&amp;nbsp; The added kicker is the target system (guardian) requires the credentials to be sent over ONLY via &amp;quot;url encoded&amp;quot; format (no other formats will even remotely work), so that seems to completely break the autiomated oauth/connected system approach too.&amp;nbsp; So we&amp;#39;re stuck manually constructing the call using a cobbled-together url string and figuring out somewhere to store the daily authentication tokens, and refresh them (presumably by some daily process) all by manual construction.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143096?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 06:34:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de622650-7479-47d3-a7bb-265a318e7031</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Why did you not configure authentication in the CS? That&amp;#39;s exactly the right place to do this! I frequently just but the string made of &amp;quot;Bearer + key&amp;quot; into the CS. But I learned that I sometimes had a leading or trailing space in that string, which broke it.&lt;/p&gt;
&lt;p&gt;When you create an Appian dictionary in the body section, Appian will automatically turn it into JSON. There is no need for an additional a!toJson call.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143090?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 19:01:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f309656-391d-4672-b9c3-79a949ec365f</guid><dc:creator>GauravSingh</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Thank you for your response,&lt;/p&gt;
&lt;p&gt;I was trying to use the bearer token in the connected system which seems to be impossible hence I have configured the Integration object to have Authentication as &amp;quot;NONE&amp;quot; and configured the token in the Header section of the integration object as in below screen shots.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1732555949934v1.png" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1732561168802v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I was trying to put the exact Json in the body which was throwing error. After converting the JSON to Dictionary and using a!toJson on it has resolved the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bearer Token Authentication</title><link>https://community.appian.com/thread/143087?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 17:16:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3030a016-8526-429b-84ec-e12cefcc9185</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;For that JSON like structure, I highly suggest to use the correct Appian dictionary syntax. Appian will then turn it into JSON automatically.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="64530" url="~/discussions/f/integrations/38040/bearer-token-authentication"]Kindly suggest&amp;nbsp;if&amp;nbsp; Appian can use such bearer token Authorize the API calls or not if yes then can we use it in our connected system or not, for now I have used it directly in&amp;nbsp;the integration object as header but its not working.[/quote]
&lt;p&gt;Sure, Appian does support Bearer authentication. Just check the docs. What exactly does &amp;quot;not working&amp;quot; mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>