4987: Asana integration always reports "Authentication failed"

dan

What version are you running?

5.0.1

What's the URL of the page containing the problem?

/admin/integrations/rbintegrations.asana.integration.AsanaIntegration/configs/add

What steps will reproduce the problem?

  1. Navigate to the above URL
  2. Paste a newly generated Asana Personal Access Token into the relevant input
  3. Switch focus from the input

What is the expected output? What do you see instead?

The expected output is that the "Asana Workspace" dropdown will be populated.
Instead, I see the "Authentication failed" error message.

What operating system are you using? What browser?

Arch Linux, Firefox.

Please provide any additional information below.

The input field for the access token is limited to 34 characters. The API token generated in Asana is 50 characters long. I believe this truncation is the cause of the issue.

#1 dan

Correction sorry, the API token is 51 characters long - not 50.