Skip to main content

LoginEvent

Event payload for OAuth login completion.

Emitted to flet.Page.on_login for both successful and failed authorization attempts.

Inherits: Event

Properties

  • error - Error code or message when login failed; empty/None on success.
  • error_description - Provider-specific error details when login failed.

Properties

errorinstance-attribute

error: Optional[str]

Error code or message when login failed; empty/None on success.

error_descriptioninstance-attribute

error_description: Optional[str]

Provider-specific error details when login failed.