Skip to content
Skip to Content
Coder Docs

Get user external auths

GET
/api/v2/external-auth

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
authenticated?boolean
created_at?string
Formatdate-time
expires?string
Formatdate-time
has_refresh_token?boolean
provider_id?string
updated_at?string
Formatdate-time
validate_error?string

The 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"}