<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/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>How to increase getFileURL token lifetime</title><link>https://www.aras.com/community/f/development/36846/how-to-increase-getfileurl-token-lifetime</link><description>Hello, 
 
 I am currently writing a server method which will provides some data including file urls to our MES. 
 To get file url I&amp;#39;m using the method innovator.getFileUrl(fileInfo.FileId, UrlType.SecurityToken)) that returns something like vaultAddress</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to increase getFileURL token lifetime</title><link>https://www.aras.com/community/thread/7357?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 12:21:31 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9c59eb3b-7af8-4075-a938-beb96c9d6625</guid><dc:creator>Florent</dc:creator><description>&lt;p&gt;No I don&amp;#39;t know if there&amp;#39;s more new operation parameter neither if they are included in documentation... Sorry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to increase getFileURL token lifetime</title><link>https://www.aras.com/community/thread/7356?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 12:16:14 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:5009eb2d-1c20-4c9e-9691-f9dd2f08b9ab</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Thanks for the information! This one was an excellent question and I was also interested to know if there is a solution.&lt;/p&gt;
&lt;p&gt;Do you know if the new operation parameters key are contained in any of the newer documentation guides? Or do we have to ask for them? I right now have a 12SP18 test installation running, but my Server config did not contain this parameter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to increase getFileURL token lifetime</title><link>https://www.aras.com/community/thread/7354?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 12:02:16 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:5c29afbf-f611-4fd7-aba9-d088b5a5f02d</guid><dc:creator>Florent</dc:creator><description>&lt;p&gt;Thanks for your research Angela.&lt;/p&gt;
&lt;p&gt;According to the support this value is hardcoded and equal to 100 seconds.&lt;/p&gt;
&lt;p&gt;Since 12SP18 new operation parameter key (named FileDownloadTokenLifetime) was introduced into InnovatorServerConfig.xml&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to increase getFileURL token lifetime</title><link>https://www.aras.com/community/thread/7353?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 09:03:35 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:6447ac94-fdb7-4c32-951d-d6252593b60f</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;There are other files inside Vault and Oauth that may contain some timings, but I am not sure if they are really the correct one.&lt;/p&gt;
&lt;p&gt;This one seems to specify the general time out for the Innovator client:&lt;/p&gt;
&lt;p&gt;..\Client\Modules\aras.innovator.AuthenticationFramework\Scripts\OAuthClient.AuthorizationCodeGrant.js&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to increase getFileURL token lifetime</title><link>https://www.aras.com/community/thread/7352?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 08:43:25 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:07b3edde-ba9c-45a0-a890-eec19d393e8b</guid><dc:creator>Florent</dc:creator><description>&lt;p&gt;Hello Angela, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your answer.&lt;/p&gt;
&lt;p&gt;I have already try to increase each value of oauth.config on vault and oauth server but nothing seems to work ...&lt;/p&gt;
&lt;p&gt;We are using version 12sp11.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Florent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to increase getFileURL token lifetime</title><link>https://www.aras.com/community/thread/7351?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 08:26:08 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:5a219158-666d-43e8-be67-3f23f422c7f8</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Florent,&lt;/p&gt;
&lt;p&gt;which Innovator version are you using? I don&amp;acute;t know the exact solution, but the various&amp;nbsp; oauth.config files in the codetree allow you to specify a &amp;quot;tokenLifetime&amp;quot; and &amp;quot;duration&amp;quot;. The typical value is 300,&amp;nbsp;not sure if this matches your 2 minutes.&lt;/p&gt;
&lt;p&gt;I would try to change VaultServer/oauth.config . But I am not sure if this one is really the correct file for this change.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>