Hi all,
Just wondering if anyone has done this before.
I'm making a plugin that connects to a web API for data computations. The plugin will be available for purchase so I'm trying to get the user authentication working which allows users to pay online as a subscription.
Does anyone know of a way for a user to login inside Autocad (or a web browser), and allows for multiple user? Or better yet, have the user login on a web browser, then have Autocad confirm with the browser that the user is logged in?
Has anyone done this type of thing before and what did you end up doing? Thanks
It probably depend on the web API services itself. But you can get your study started here:
https://learn.microsoft.com/en-us/entra/msal/dotnet/getting-started/choosing-msal-dotnet
Norman Yuan
You can also host the web login page on a browser control (like Webview2 or Chromium) within AutoCAD, and retrieve the access token from the server response. I have done that for downloading ArcGIS data from ESRI servers.
Can't find what you're looking for? Ask the community or share your knowledge.