Skip to content

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

@soxofaan

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions