Casdoor Flutter Sdk Test
Step 1: Clone casdoor-flutter-example from Github
Link: https://github.com/casdoor/casdoor-flutter-example
Step 2: Test in Chrome(Web)
Encountered a cross-domain problem. So the token could not be obtained.
1 | // cross-domain code |
Error:
Step 3: Test in Android Emulator
Android app can get a Token. But the automatic jump from browser back to App cannot be triggered. (Perhaps the emulator causes this bug)
Graphic:
Step 4: Test in IOS Emulator
Working well.