Autodesk · Arazzo Workflow
Autodesk Three-Legged User Login
Version 1.0.0
Send a user through Autodesk consent, exchange the code for tokens, and read their profile.
View Spec
View on GitHub
Fortune 10003D ModelingArchitectureBIMCADConstructionDesignDigital TwinsEngineeringManufacturingMedia and EntertainmentSustainabilityArazzoWorkflows
Provider
Workflows
three-legged-user-login
Authorize a user, exchange the code for tokens, and identify the user.
Builds the authorize redirect, exchanges the authorization code the user's browser returns to the redirect URI for an access and refresh token, and calls the user profile endpoint with the resulting three-legged token.
1
requestConsent
authorize
Build the Autodesk authorize redirect. The user's browser follows the 302 to the Autodesk login page and, after consent, is redirected back to redirectUri with a short-lived authorization code on the query string.
2
exchangeCode
getToken
Exchange the authorization code for an access token and a refresh token. The redirect_uri must match the one used on the authorize request exactly.
3
readProfile
getUserProfile
Read the profile of the user the token was issued for. This confirms the token is three-legged and identifies the account whose data the application may now act on. Requires the user-profile:read scope.