Get user external auths
GET
CoderSessionTokenheader
Coder-Session-Token<token>OK
application/json- response
authenticated?booleancreated_at?stringFormat
date-timeexpires?stringFormat
date-timehas_refresh_token?booleanprovider_id?stringupdated_at?stringFormat
date-timevalidate_error?stringThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/external-auth" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "authenticated": true, "created_at": "2019-08-24T14:15:22Z", "expires": "2019-08-24T14:15:22Z", "has_refresh_token": true, "provider_id": "string", "updated_at": "2019-08-24T14:15:22Z", "validate_error": "string"}