<?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: Microsoft Authentication in 3DS Max 2019 Plugin in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/microsoft-authentication-in-3ds-max-2019-plugin/m-p/9276656#M8189</link>
    <description>&lt;P&gt;hi kevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for this answer. I actually linked a c# to the c++ plugin using COM.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 12:38:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-01-27T12:38:56Z</dc:date>
    <item>
      <title>Microsoft Authentication in 3DS Max 2019 Plugin</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/microsoft-authentication-in-3ds-max-2019-plugin/m-p/8891454#M8187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am fairly new to 3ds Max and would like to know if it is possible to incorporate Microsoft Login/Authentication in a 3ds Max Plugin.&lt;/P&gt;&lt;P&gt;i.e.&amp;nbsp;Upon clicking on my loaded 3ds Max plugin, can I use/call MSAL or ADAL?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot find any references/post which details the usage of MSAL/ADAL in 3ds Max Plugins. So I am thinking that this is not possible or is not used by most 3ds Max Plugin Developers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 05:38:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/microsoft-authentication-in-3ds-max-2019-plugin/m-p/8891454#M8187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-05T05:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Authentication in 3DS Max 2019 Plugin</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/microsoft-authentication-in-3ds-max-2019-plugin/m-p/8970575#M8188</link>
      <description>&lt;P&gt;Hi, Yes, you could make this happen from a 3dsMax plugin point of view. There are different ways to handle it. You mentioned "clicking on my loaded 3ds Max plugin" which is a big vague. You could do it at 3ds Max startup by using a callback, or a certain plugin type (like GUP where it has startup methods where you could place the code). If you want it to be via a UI element, it can be part of any plugin really, and just hookup a button callback for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Although we are not here to support the Microsoft functionality, I see with quick search they are using oauth 2.0 and the MSAL is newest way. I suggest to follow newest always when it comes to authorization and security. With oauth, typically you can use REST and there are many ways to call REST from a plugin.&lt;BR /&gt;&lt;BR /&gt;Looks like they also have some libraries, and is prefered way to use it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-overview" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-overview&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-v2-libraries" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-v2-libraries&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did a quick check and see that they support python and .NET in terms of what 3ds Max also supports. Or if you want to make a C++ 3ds Max plugin, you could use a mixed-mode plugin and use the .NET library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope it helps,&lt;/P&gt;
&lt;P&gt;kevin&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 16:45:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/microsoft-authentication-in-3ds-max-2019-plugin/m-p/8970575#M8188</guid>
      <dc:creator>kevinvandecar</dc:creator>
      <dc:date>2019-08-16T16:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Authentication in 3DS Max 2019 Plugin</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/microsoft-authentication-in-3ds-max-2019-plugin/m-p/9276656#M8189</link>
      <description>&lt;P&gt;hi kevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for this answer. I actually linked a c# to the c++ plugin using COM.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 12:38:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/microsoft-authentication-in-3ds-max-2019-plugin/m-p/9276656#M8189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-27T12:38:56Z</dc:date>
    </item>
  </channel>
</rss>

