<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Load an a360 model without user auth in Fusion Educators (Read-Only)</title>
    <link>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6425192#M1372</link>
    <description>&lt;P&gt;The 3-legged oauth authorization mechanism is designed to let your application (an application in general) access resources from a specific user account once it has been authorized through a web page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case you want to serve data from your account to other users of your app, so what you would need to do is first get a valid auth token for your account, you can hardcode it in your server, then your application will refresh this token "forever" based on its expiracy period so it remains authorized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have a valid token (with full privileges - if needed), you can request a downgraded token (a token with limited scope, e.g only for data:read) which can be sent to a client app in the browser so it will be allowed to load that model from your account. Users will not be able to perform any other create/write operations on your account if they grab that token, however they could load any model may they know their URN's.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can take a look at my sample &lt;A href="https://github.com/leefsmp/forge" target="_self"&gt;there&lt;/A&gt;, which implement downgrade scope logic to pass read-only token to the client.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if you have further questions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Philippe.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2016 08:26:02 GMT</pubDate>
    <dc:creator>philippe.leefsma</dc:creator>
    <dc:date>2016-07-08T08:26:02Z</dc:date>
    <item>
      <title>Load an a360 model without user auth</title>
      <link>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6422038#M1371</link>
      <description>&lt;P&gt;I would like to serve different models from my a360 depending on parameters, but without any kind of auth from the user.&amp;nbsp;Is it possible to achieve this at the moment?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to render a model from my a360 bucket and I've read that if I want to use the Data Management API I need to use 3-legged auth.&lt;BR /&gt;However, I want the user to see that model, which is in my a360, but I don't want the user to have access to my account or even have an account.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 18:05:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6422038#M1371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-06T18:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load an a360 model without user auth</title>
      <link>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6425192#M1372</link>
      <description>&lt;P&gt;The 3-legged oauth authorization mechanism is designed to let your application (an application in general) access resources from a specific user account once it has been authorized through a web page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case you want to serve data from your account to other users of your app, so what you would need to do is first get a valid auth token for your account, you can hardcode it in your server, then your application will refresh this token "forever" based on its expiracy period so it remains authorized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have a valid token (with full privileges - if needed), you can request a downgraded token (a token with limited scope, e.g only for data:read) which can be sent to a client app in the browser so it will be allowed to load that model from your account. Users will not be able to perform any other create/write operations on your account if they grab that token, however they could load any model may they know their URN's.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can take a look at my sample &lt;A href="https://github.com/leefsmp/forge" target="_self"&gt;there&lt;/A&gt;, which implement downgrade scope logic to pass read-only token to the client.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if you have further questions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Philippe.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 08:26:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6425192#M1372</guid>
      <dc:creator>philippe.leefsma</dc:creator>
      <dc:date>2016-07-08T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load an a360 model without user auth</title>
      <link>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430768#M1373</link>
      <description>&lt;P&gt;Thanks Philippe. It took me a while as I didn't know I had to get a token for the acmsession to permission to access to the resource from a360.&lt;BR /&gt;Is this documented anywhere? I couldn't find it&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 07:27:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430768#M1373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-12T07:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load an a360 model without user auth</title>
      <link>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430810#M1374</link>
      <description>&lt;P&gt;A360 API is a 3-legged OAuth authentication mechanism, this requires you to acquire a valid token with relevant scope based on the kind of operation you want to perform (read-only, read/write, ...) this is definitely documented at the same location than all our web APIs, the Data Management (A360) section is available there:&amp;nbsp;&lt;A href="https://developer.autodesk.com/en/docs/data/v2" target="_self"&gt;https://developer.autodesk.com/en/docs/data/v2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 08:05:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430810#M1374</guid>
      <dc:creator>philippe.leefsma</dc:creator>
      <dc:date>2016-07-12T08:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load an a360 model without user auth</title>
      <link>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430818#M1375</link>
      <description>&lt;P&gt;Thank you Philippe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I wasn't clear enough. I wasn't talking about the token, I mean't the call to:&lt;/P&gt;&lt;PRE&gt;https://developer.api.autodesk.com/oss-ext/v1/acmsessions&lt;/PRE&gt;&lt;P&gt;Related:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/37835178/creating-a-viewer-application-with-an-urn-from-autodesk-a360" target="_blank"&gt;https://stackoverflow.com/questions/37835178/creating-a-viewer-application-with-an-urn-from-autodesk-a360&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 08:11:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430818#M1375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-12T08:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load an a360 model without user auth</title>
      <link>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430837#M1376</link>
      <description>&lt;P&gt;It is not documented because the recommended way to to translate the file again using your credentials and not use the acmsession Id, I am not sure this approach will remain valid in the future, let me check with the development team and I will get back to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, for logging new threads, please prefer StackOverflow as we progressively migrate all our support there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 08:37:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-educators-read-only/load-an-a360-model-without-user-auth/m-p/6430837#M1376</guid>
      <dc:creator>philippe.leefsma</dc:creator>
      <dc:date>2016-07-12T08:37:25Z</dc:date>
    </item>
  </channel>
</rss>

