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

Receiving PlaidLink.open error on Flutter web providing an allowed receivedRedirectUrl #140

Open
marcnieto-esusu opened this issue Nov 19, 2024 · 0 comments

Comments

@marcnieto-esusu
Copy link

marcnieto-esusu commented Nov 19, 2024

I've added an allowed receivedRedirectUrl, http://localhost:3000/ on the Plaid Dashboard as I'm trying to redirect back to my web page after success of Plaid link.

And when I set the LinkTokenConfiguration property receivedRedirectUrl to http://localhost:3000/, the PlaidLink.open errors out with error message 'Error: oauth uri does not contain a valid oauth_state_id query parameter.'

When it is not set, PlaidLink opens as expected.

Using plaid_flutter 3.1.8

flutter doctor

[✓] Flutter (Channel stable, 3.24.1, on macOS 14.7 23H124 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.95.3)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!
@marcnieto-esusu marcnieto-esusu changed the title PlaidLink.open hanging on Flutter web providing an allowed receivedRedirectUrl Receiving PlaidLink.open error on Flutter web providing an allowed receivedRedirectUrl Nov 19, 2024
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