Closed pyxiscloud closed 1 year ago
@seriouszyx @ComradeProgrammer @Resulte
Hello, I tried to fix this problem. Do you mean that in your project, the SDK code needs to be modified as follows to work normally?
However, in my demo, the sdk can't work if doing this modification. So I can't repeat the problem.
I wonder, maybe I misunderstand your issue or your issue can only happen in some special situations. Could you give me some more details? Thanks!
@pyxiscloud Can you provide a demo project?
Hello @muchengl Yes, I mean that (without changing SDK code not running normally) I think it depends on Casdoor server settings, but not sure. My casdoor server only with captcha provider. My steps:
@pyxiscloud Hello, I have set up a demo according to your steps and encountered a "cross-domain problem". Is this your problem? Or you may have encountered another error.
@pyxiscloud can you run the Flutter example code? https://github.com/casdoor/casdoor-flutter-example
no, that example not works testing on Chrome, development mode (flutter web)
@pyxiscloud did you see this? https://github.com/casdoor/casdoor-flutter-sdk#web:~:text=On%20the%20Web%20platform%20an%20endpoint%20needs%20to%20be%20created%20that%20captures%20the%20callback%20URL%20and%20sends%20it%20to%20the%20application%20using%20the%20JavaScript%20postMessage()%20method.
How did you setup that callback endpoint? Can you provide the code?
The example code: https://github.com/casdoor/casdoor-flutter-example works. So don't know why the issue owner doesn't work.
Closed as stale.
3 days trying to get auth working in flutter web. It works after commenting this at castor.dart
please fix sources?
ps: still not works for
flutter build web --release
(