User Authentication to use plugin with web backend

User Authentication to use plugin with web backend

Winterfell_
Observer Observer
950 Views
3 Replies
Message 1 of 4

User Authentication to use plugin with web backend

Winterfell_
Observer
Observer

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

951 Views
3 Replies
Replies (3)
Message 2 of 4

norman.yuan
Mentor
Mentor

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

Drive CAD With Code

EESignature

0 Likes
Message 3 of 4

Winterfell_
Observer
Observer

Thanks for the help Norman. I'll have a look at that.

0 Likes
Message 4 of 4

gleeuwdrent
Advocate
Advocate

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.

0 Likes