OAuth2 - Password

A aplicação cliente da solução deve solicitar ao usuário as credenciais de acesso antes de fazer a requisição.

POST https://cess.lab.vaultid.com.br/oauth

Headers

Name
Type
Description

Content-Type

string

application/json

Accept

string

application/json

Request Body

Name
Type
Description

client_id

string

Identificação da aplicação.

client_secret

string

Senha da aplicação.

username

string

Identificação do usuário por meio do CPF/CNPJ. Pode ser do tipo string, preencha com zeros à esquerda (11 dígitos para CPF e 14 para CNPJ).

password

string

Número OTP.

grant_type

string

Fixo "password".

scope

string

Se não informado será considerado "authentication_session".

lifetime

integer

Indica o tempo de vida desejado para o token a ser gerado em segundos. Possuindo tempo tempo máximo de 7 dias para pessoa física, e 30 dias para pessoa jurídica.

provider

string

Identificador da nuvem à qual o usuário pertence.

POST https://cess.endpoint/oauth/pwd_authorize

Headers

Name
Type
Description

Content-Type

string

PYLgpABP0bq7

Accept

string

PDoZP5C9dEXM

Request Body

Name
Type
Description

client_id

string

ARSQukIjRWPy

client_secret

string

bm1QCZoiR085

username

string

sDUWj0Ovp7fj

password

string

wzG1u3iQpnXN

grant_type

string

MSggPlHoAfPt

scope

string

tLPHnvlJvGZV

lifetime

integer

GZN2KV7aeNwc

provider

string

JG1FJluNs9YD

Last updated

Was this helpful?