Comments (9)
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!
from casdoor-flutter-sdk.
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:
- Deploy clean casdoor (docker) + add 1 application with Sign Up only with captcha provider.
- Trying to test it with demo example.
from casdoor-flutter-sdk.
@seriouszyx @ComradeProgrammer @Resulte
from casdoor-flutter-sdk.
@pyxiscloud Can you provide a demo project?
from casdoor-flutter-sdk.
@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.
from casdoor-flutter-sdk.
@pyxiscloud can you run the Flutter example code? https://github.com/casdoor/casdoor-flutter-example
from casdoor-flutter-sdk.
no, that example not works
testing on Chrome, development mode (flutter web)
- I've pressed FAB button
- New window opens with Casdoor Login Window
- I 've entered as admin (admin - 123)
- Window was closed, but token is still "User is not logged in"
from casdoor-flutter-sdk.
@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?
from casdoor-flutter-sdk.
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.
from casdoor-flutter-sdk.
Related Issues (16)
- Make a Casdoor Flutter SDK like other languages HOT 4
- bug: the GitHub release version doesn't match with the one in pub.dev HOT 3
- Support for Windows and Linux HOT 1
- Not works on Flutter Web release HOT 4
- [bug] CI error: Unable to resolve action cedx/setup-dart, repository not found HOT 2
- Problem with refreshToken method HOT 5
- Rationale for using native implementation of WebView HOT 3
- Add CI and semantic-release HOT 3
- refreshToken for mobile app HOT 2
- Update pub.dev to 1.3.0 version HOT 2
- Upload to pub.dev failed HOT 2
- Google Oauth 2.0 fail HOT 8
- Add badges HOT 2
- Fix CI error HOT 3
- Semantic-release should also create GitHub Releases besides the pub.dev package release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casdoor-flutter-sdk.