filestack-js
filestack-js copied to clipboard
Redirect from cloud sources doesn't work
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

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