Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect from cloud sources doesn't work #517

Open
ladderschool opened this issue May 14, 2023 · 0 comments
Open

Redirect from cloud sources doesn't work #517

ladderschool opened this issue May 14, 2023 · 0 comments

Comments

@ladderschool
Copy link

ladderschool commented May 14, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant