Create Webhooks with 2-legged token

Create Webhooks with 2-legged token

david.siegert63GB8
Participant Participant
522 Views
2 Replies
Message 1 of 3

Create Webhooks with 2-legged token

david.siegert63GB8
Participant
Participant

Hello,

 

I succesfully created hooks via Postman when using the 3-legged token authentification. But when I try to use the 2-legged authentification bearer token I always get the message:

 

"Client authorization was not defined for eso with system id: adsk.flc.production and event id: item.create"

 

Is it not possible to create webhooks without prompting user authentification (3-legged)

0 Likes
Accepted solutions (1)
523 Views
2 Replies
Replies (2)
Message 2 of 3

sven.dickmans
Autodesk
Autodesk
Accepted solution

Do you want to use the 2-leeged authentication when subscribing to a webhook or when pulling required data when a webhook triggers? 

The subscription to a webhook is a one time activity and requires a 3-legged-token. When the webhook triggers and submits the given event's details, it is possible to access all required details with a 2-legged token only. See the tutorial at https://help.autodesk.com/view/PLM/ENU/?guid=WH-TUT1-SETUP

0 Likes
Message 3 of 3

david.siegert63GB8
Participant
Participant

Hi Sven, thank you.

 

Yes I wanted to use it for subscription.

 

Because I read that Fusion 360 Manage than uses the permissions of the user who subscribed to the callback. But I will not have access to our customers production tenant in the future. That means I cant create it via postman myself.  So my thinking was to automate the creation of webhooks.

0 Likes