Get external auth device by ID.
GET
CoderSessionTokenheader
Coder-Session-Token<token>externalauth*stringGit Provider ID
Format
stringOK
application/json- response
device_code?stringexpires_in?integerinterval?integeruser_code?stringverification_uri?stringThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/external-auth/{externalauth}/device" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "device_code": "string", "expires_in": 0, "interval": 0, "user_code": "string", "verification_uri": "string"}