Replies: 3 comments 4 replies
This comment was marked as spam.
This comment was marked as spam.
-
SSO is not removed or deprecated, it's just disabled in a single-use Desktop mode when Python program is run with built-in socket server. To get SSO working with desktop client you have to force Flet HTTP web server, with: ft.app(main, port=8550, view=ft.WEB_BROWSER) and then call the app as:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
OK, so we need a way to force using web server, but still run it with desktop UI! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Feb 2022 OAuth support is removed from Flet and the author thought it does not make sense #985.
IMHO OAuth does make sense cuz there are many ways developers can make auth work WITHOUT Client ID and Client Secret! Many Chinese apps like WeChat, QQ and Feishu use this way. The secret is safely stored in an "intermediary server", which is between the client and the third party platform and the client only need to send its Client ID. Feishu's approach
I tried to submit a PR but found the code complicated and I'm afraid of the side-effect. I hope in the future version the author could bring back SSO and OAuth and this deed will obviously push Flet to wider usage scenario and be more developers' choice.
By the way developers has started to fork and bring back OAuth and SSO by themselves. See this fork
Beta Was this translation helpful? Give feedback.
All reactions