Skip to content

🐛 Bug Report: Autodesk OAuth2 adapter calls retired v1 authentication endpoints #15369

Closed

Description

@adityaoberai

Summary

Sign in with Autodesk fails at the first redirect. The adapter still calls Autodesk's v1 authentication endpoints, which now return 404.

Details

  • src/Appwrite/Auth/OAuth2/Autodesk.php uses:
    • https://developer.api.autodesk.com/authentication/v1/authorize
    • https://developer.api.autodesk.com/authentication/v1/gettoken
    • https://developer.api.autodesk.com/authentication/v1/refreshtoken
  • Today v1/authorize and v1/gettoken return 404. The v2 equivalents (/authentication/v2/authorize and /authentication/v2/token) respond.
  • The code is the same at HEAD and in 2.7.1.

Suggested fix

Move the adapter to the v2 flow: https://aps.autodesk.com/en/docs/oauth/v2/developers_guide/overview/

The v2 token endpoint takes client credentials as basic auth: https://aps.autodesk.com/en/docs/oauth/v2/reference/http/gettoken-POST/

The user profile call (userprofile/v1/users/@me) is worth checking at the same time.

Notes

This turned up while adding OAuth providers to the appwrite.io integrations catalog. The Autodesk page is held back until this is fixed.

cc @adityaoberai

Activity

  1. added
    bug
    product / auth
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugproduct / auth

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions