Skip to content

Support device auth flow#395

Open
telekid wants to merge 1 commit into
coreos:v3from
telekid:device-auth-flow
Open

Support device auth flow#395
telekid wants to merge 1 commit into
coreos:v3from
telekid:device-auth-flow

Conversation

@telekid
Copy link
Copy Markdown

@telekid telekid commented Nov 16, 2023

This PR adds support for the oauth Device Authorization Flow to go-oidc.

The oauth2 package added Device Authorization Flow support in version 0.13.01. In order to use this flow, the DeviceAuthURL endpoint must be set on the ProviderConfig. This value is made available during dynamic endpoint discovery via the device_authorization_endpoint json key. (See https://www.rfc-editor.org/rfc/rfc8628#section-4).

Tested locally against Auth0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant