Flet Custom Auth #2940
Closed
jersonjunior
started this conversation in
Show and tell
Replies: 1 comment
-
In Flet 0.21.0, because of migration to FastAPI web server, OAuth handler URL endpoint changed from to . Use env var to customize./api/oauth/redirect/oauth_callback FLET_OAUTH_CALLBACK_HANDLER_ENDPOINT Now page.on_login = on_login works |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement the custom OAuth provider using Keycloack and I can't get the result after user authentication, I noticed that in the example below there is no LoginEvent in the import than in the Google example and it never runs page.on_login = on_login, I inserted page.on_login = on_login() and it generates error because the variable "e" is not declared, I believe it's because of LoginEvent, suggestions are welcome,
Beta Was this translation helpful? Give feedback.
All reactions