Closed TKDBB84 closed 11 months ago
Autodesk provider is using OAuth2:
What exactly isn't working?
the v1
endpoints will be disabled (timeline TBD). The v2 endpoints change a few things in the contract, as an example:
authentication/v1/gettoken
will move to authentication/v2/token
and will no longer accept client_id/client_secret in the body of the request, but only as a Basic Auth header. The v1 endpoints still work, but will be turned off eventually. The migration guide provides all details.
Got it, thanks for bringing this up, I will definitely have a look.
This was fixed in v5.4.22 https://github.com/simov/grant/commit/71445d69b740d59d516765230a9fb199180c01b6 Seems to be working as before.
Note that even if this did not land on time you could have set the authorize_url
and access_url
URLs in your config to point to the correct URLs and then also the token_endpoint_auth_method
option set to client_secret_basic
to force the Basic authentication for the token endpoint.
Autodesk oAuth2 implementation should migrate to v2 https://aps.autodesk.com/blog/migration-guide-oauth2-v1-v2