Skip to content

Prefer VerificationURIComplete if present #1430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

virtualdxs
Copy link

Name of feature:

Prefer VerificationURIComplete if present

Pain or issue this feature alleviates:

In the OIDC Device Authorization Flow in command/oauth, present the user with VerificationURIComplete rather than VerificationURI if present, so that the user doesn't have to manually type the code when using an IdP that provides this feature.

Is there documentation on how to use this feature? If so, where?

No, the feature is automatically used if supported by the IdP

In what environments or workflows is this feature supported?

The OIDC Device Authorization Flow with an IdP that provides the verification_uri_complete parameter (e.g. Keycloak)

Supporting links/other PRs/issues:

Fixes #1424

💔Thank you!

In the OIDC Device Authorization Flow in command/oauth, present the user
with VerificationURIComplete rather than VerificationURI if present, so
that the user doesn't have to manually type the code when using an IdP
that provides this feature.

Fixes smallstep#1424
@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label May 29, 2025
@virtualdxs
Copy link
Author

I don't have any tests; if this change isn't too small to warrant test coverage I'll need help adding those as I haven't worked with test frameworks before and have barely worked with Go.

@hslatman hslatman added this to the v0.28.7 milestone May 29, 2025
@hslatman hslatman self-assigned this Jun 3, 2025
@hslatman hslatman self-requested a review June 3, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use VerificationURIComplete if present for OIDC device flow
2 participants