Skip to content

allow custom "DeviceCodePollUi" in OIDC device code flow #823

Description

@soxofaan

current support to show a "UI" to show device code instructions is basic text and Jupyter:

if in_jupyter_context():
poll_ui = _JupyterDeviceCodePollUi(timeout=self._max_poll_time, elapsed=elapsed)
else:
poll_ui = _BasicDeviceCodePollUi(timeout=self._max_poll_time, elapsed=elapsed, display=self._display)

for other context, e.g. QGIS integration, it would be handy to allow injection of a custom implementation

Activity

  1. soxofaan commented on Oct 23, 2025

    @soxofaan
    MemberAuthor
  2. self-assigned this
    on Oct 23, 2025
  3. added theissue type on Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions