casdoor/casdoor-flutter-example

some questions about casbin flutter sdk

CoreyBin opened this issue · 7 comments

Can Casdoor flutter sdk realize not to jump to the web page authorization, but directly use the ui on the flutter side to implement related interaction logic with the backend

@JarynChen plz edit your issue title and content to change to English

image

@JarynChen
You mean to write an interface with flutter that is the same as the front end of casdoor?like this?
0R2 5 S51LIQXJSVD9TFQ3I

@JarynChen You mean to write an interface with flutter that is the same as the front end of casdoor?like this? 0R2 5 S51LIQXJSVD9TFQ3I

Yes,but not just the ui, I also want to know the interactive method. Because I think many flutter apps prefer complete the login operation in the app inside.

@JarynChen the Casdoor login page (web frontend) has very complicated logic at: https://github.com/casdoor/casdoor/blob/master/web/src/auth/LoginPage.js , it would be nearly impossible for you to create a Flutter native one for it. You are welcome to try it but what I suggest is keeping using the webview way which has Casdoor web login page embedded.

@JarynChen the Casdoor login page (web frontend) has very complicated logic at: https://github.com/casdoor/casdoor/blob/master/web/src/auth/LoginPage.js , it would be nearly impossible for you to create a Flutter native one for it. You are welcome to try it but what I suggest is keeping using the webview way which has Casdoor web login page embedded.

Thanks.