There is no official documentation yet (“We need to add explanation about supporting the spec into keycloak-documentation”), but the “How to try it” (keycloak-community/oauth2-device-authorization-grant.md at master · keycloak/keycloak-community · GitHub) section in the doc gives decent instructions. Have you tried that? I went through it with Keycloak 13, and everything works. Let us know if you have specific questions.
Docker server version 23.0.7
I am receiving 405 on the “Device Authorization Endpoint” with or without the client authorization. I can’t find any reference to “Access Type”.
curl -X POST \
-d "client_id=osint-client" \
"http://localhost:9080/realms/osint-realm/protocol/openid-connect/device/auth"
I would also like to confirm whether the client device is a 1-1 or 1-Many association.
“Access Type” refers to the old admin console. In the new one, it’s the “Client authentication” switch that changes between public (OFF) and confidential client (ON). If you have it set to ON (that’s necessary to enable the Service account grant) to have to add client_secret=[Secret] to your device flow http requests.
The first request of the device and the user authentication with the code have to call the device endpoint (…/openid-connect/auth/device), but then the token has to be queried by the device at the standard token endpoint 8…/openid-connect/token)