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

OAuth with entitlement API

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Anonymous
932 Views, 5 Replies

OAuth with entitlement API

Hello,

 

First of all, the question might seem dumb but I am a little bit confused, so please bear with me.

 

I want to use entitlment API with Autodesk Exchange store, so I need the AppId (which is available) and the UserId. For the UserId I can check the variable "ONLINEUSERID" or as suggested by this post, I can dispaly the Autodesk Log in and ask the user to log in.

 

I tried the code with the post but I don't know how I can get the "Consumer Key" and "Consumer Secret"! Any hints or answers are much appreciated.

Tags (1)
5 REPLIES 5
Message 2 of 6
kean_walmsley
in reply to: Anonymous

Hi there,

 

You don't need a consumer key and secret to use this API, as far as I know.

 

Here's a blog post where I showed another way of using it:

 

http://through-the-interface.typepad.com/through_the_interface/2016/02/securing-your-autocad-app-usi...

 

Does it help?

 

Kean



Kean Walmsley

Platform Architect & Evangelist, Autodesk Research

Blog | Twitter
Message 3 of 6
Virupaksha_aithal
in reply to: Anonymous

Hi,

 

My sugegstion is to use the entitlment API with "ONLINEUSERID". If ONLINEUSERID is empty, please promot the user to sign in A360. At present, there is no direct/easy method to get "Consumer Key" and "Consumer Secret". 

Also, the post is old. To avoid getting "Consumer Key" and "Consumer Secret", we requested the developers to "ONLINEUSERID".  

Please refer http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=24243865



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

Message 4 of 6
Anonymous
in reply to: kean_walmsley

Thanks so much for your reply,

 

I got the idea but I have a small follow-up. Can my software shows the log-in window instead of asking the user to use the log-in button in the AutoCAD interface?

Message 5 of 6
kean_walmsley
in reply to: Anonymous

Not in a way that's meaningful to AutoCAD: the sign in capability is built into AutoCAD's UI.

 

You could implement your own application's sign-in capability, but then you'd be on your own with respect to entitlement etc.

 

Kean



Kean Walmsley

Platform Architect & Evangelist, Autodesk Research

Blog | Twitter
Message 6 of 6
Anonymous
in reply to: kean_walmsley

is there any option to get the 'ONLINEUSERID' by submitting the autodesk ID 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report