.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

User Authentication to use plugin with web backend

3 REPLIES 3
Reply
Message 1 of 4
Winterfell_
217 Views, 3 Replies

User Authentication to use plugin with web backend

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

3 REPLIES 3
Message 2 of 4
norman.yuan
in reply to: Winterfell_

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

Message 3 of 4
Winterfell_
in reply to: Winterfell_

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

Message 4 of 4
gleeuwdrent
in reply to: Winterfell_

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.

Post to forums  

Forma Design Contest


AutoCAD Beta