10. Device flow with existing IdPs

8 cards

Review this deck
All cards in this deck

Auth0

Supports the Device Authorization Flow; you must enable the Device Code grant for the (native) application.

Okta

Supports the Device Authorization grant for native apps; you must enable the grant type on the app.

Microsoft Entra ID

Endpoint `/oauth2/v2.0/devicecode`; admins can block the device code flow with Conditional Access.

GitHub

OAuth apps and GitHub Apps support device flow; you must enable "Enable Device Flow" in the app settings.

Keycloak

Supports the OAuth 2.0 Device Authorization Grant, enabled per client.

AWS IAM Identity Center

`aws sso login` uses Authorization Code + PKCE by default in recent AWS CLI v2 versions, device flow via `--use-device-code`.

Amazon Cognito user pool

No built-in device grant in the standard grant list; you must build your own device endpoint layer in front (check the current docs).

Questions before choosing an IdP

Does it have a device grant, can it be blocked by policy, can the consent page be customized, does it have refresh token rotation.

10. Device flow with existing IdPs – Flashcards – CLI Auth | Học Dev