Initiates the device authorization flow for WorkOS Connect applications. This endpoint implements the OAuth 2.0 Device Authorization Flow and is designed for CLI applications and other devices with limited input capabilities.
This endpoint is used by third-party applications to authenticate users through WorkOS Connect. Users will be prompted to authorize the application’s access to their data as part of the consent flow.
curl -X POST 'https://<subdomain>.authkit.app/oauth2/device_authorization' \ -d 'client_id=client_01JP8BD0CZ401TDF9X54NT5ZEK' \ --data-urlencode 'scope=openid profile email'
POST/oauth2 /device_authorizationParameters Returns