Yes?
Btw, it's best to be direct rather than just stating you have a problem
this is what happens when it redirects it looses connection to the previous application and the code written in it after that does not work
so the state is not updated until I Reload the application
apologies would that form next time onwards
Can you set a breakpoint to see when your check step function is called?
The second CheckStep() isnt called as we navigate to a new page
Hey @Steven can I make flutter consistantly listen to appwrite changes
if that is possible i believe I can solve this
OR
If possible can I refresh my flutter application from the auth.html
i think the problem is you're redirecting to vercel, but you're running from localhost.
for your success url, I recommend installing the window_location_href package and doing something like: https://github.com/appwrite/playground-for-flutter/blob/ad30fb232a223e118c9429ac1df75f856b6a1d9d/lib/main.dart#L294
alright would look into it
Yep you were right Deployed on vercel and tested worked
thanks a lot
Would use this
But just one last thing
I did not understand why the error was there
account.createOAuth2Session() never resolved because it only resolves if the message was received from the same origin: https://github.com/ThexXTURBOXx/flutter_web_auth_2/blob/ff927eb20fc89389700c11558fbc921727e4491f/flutter_web_auth_2/lib/src/flutter_web_auth_2_web.dart#L52
even if we did redirect to vercel deployed auth.js but in a new tab when the window closes shouldnt it mean the function call should return and the control goes back to local host
Ohh Alright thanks
Cool
Also this made things quite easier thanks just implemented
Recommended threads
- Getting CORS error when accessing websit...
When accessing my website I'm getting: (index):1 Access to font at 'https://assets.appwrite.io/fonts/inter/Inter-Regular.woff2' from origin 'https://mvp-site-ra...
- Questions about requests count on dashbo...
Hi guys I am new to this platform so I dont know if I am doing anything wrong. On dsahboard the request count is about 50k even though I dont feel like I have d...
- Account.get throwing an error on EXPO SD...
I am updating my react app to use EXPO SDK 54 and appwrite-react-native SDK 0.17.x but the account.get() function is not working I use it to get the current us...