OAuth 2.0/ OpenID Connect

POST https://login.veevavault.com/auth/oauth/session/:{oath_oidc_profile_id}

https://developer.veevavault.com/api/21.3/#oauth-2-0-openid-connect

Authenticate your account using OAuth 2.0 / Open ID Connect token to obtain a Vault Session ID. Learn more about OAuth 2.0 / Open ID Connect in Vault Help.

When requesting a sessionId, Vault allows the ability for Oauth2/OIDC client applications to pass the clientid with the request. Vault uses this clientid when talking with the introspection endpoint at the authorization server to validate that the access_token presented by the application is valid. Learn more about Client ID in the REST API Documentation.

Request Body

[{"name"=>"vaultDNS", "value"=>"{{vaultDNS}}", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"{{client_id}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Acceptstring