filestack-js icon indicating copy to clipboard operation
filestack-js copied to clipboard

Redirect from cloud sources doesn't work

Open ladderschool opened this issue 2 years ago • 0 comments

I'm using PickerInline as a component in a React project utilizing headlessui's Dialog. It all works fantastic, however when I want to authenticate with Facebook or Google, the window.url is changed and the whole page shows the source's authentication/authorization page.

This works flawlessly on Microsoft Edge

Expected Behavior

User is redirected back to my page after successfully authenticating with the cloud source without having to press the back button and such.

Current Behavior

User ends up after authenticated with cloud provider on the cloud.filestack API page saying: "Authentication successful. Please close this page or go back to continue"

Steps to Reproduce (for bugs)

Additional Screenshots

Dialog with PickerInline No redirect after cloud auth

Your Environment

  • Version used: "filestack-react": "^4.0.1", "react": "17.0.2",
  • Browser Name and version: Firefox (latest)
  • Operating System and version (desktop or mobile): Windows 11

ladderschool avatar May 14 '23 21:05 ladderschool