AdminsLoginOAuth2

loginOauth2

POST
/api/v1/login/oauth/{provider}

Complete an OAuth2 login by exchanging the provider authorization code for a Mist administrator session.

Path Parameters

provider*string

Oauth2 provider name

Request Body

application/json

Request Body

Request body containing a single authorization or claim code

code*string

Request-supplied authorization or claim code value

Response Body

curl -X POST "https://example.com/api/v1/login/oauth/google" \  -H "Content-Type: application/json" \  -d '{    "code": "4/S9tegDeLkrYg0L9pWNXV4cgMVbbr3SR9t693A2kSHzw"  }'
Empty