Problem/Motivation

User is not prompted to refresh the screen so the flow is broken.
Workflow broken

Steps to reproduce

  1. Configure DAM API keys
  2. Go to Canvas and try to insert DAM image to a component
  3. Click the ‘authenticate’ link
  4. Follow the steps in DAM
  5. Come back to Canvas
  6. Confirm that you still see the same screen in DAM (i.e. authentication is needed)
  7. Refresh page and confirm that DAM has now authenticated

Proposed resolution

I would expect that after coming back from DAM to Canvas (i.e. step 6), DAM would already show assets in the media library since seemingly the authentication completed by then.

CommentFileSizeAuthor
#3 bba7bc6d-9b45-43ee-b43f-fee9d7588665.png153.15 KBankitv18

Issue fork acquia_dam-3562219

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ankitv18 created an issue. See original summary.

ankitv18’s picture

Issue summary: View changes
ankitv18’s picture

Issue summary: View changes
StatusFileSize
new153.15 KB

rajeshreeputra’s picture

Status: Active » Reviewed & tested by the community

Reviewed and validated, looks good to me, hence RTBC.

amangrover90 made their first commit to this issue’s fork.

amangrover90’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.