v1

latestOpenAPI 3.0.02026-07-264636241.7 MB
Autenticação

Realizar login

Realizar o login a partir de um SSO externo.

post/autenticacao-externa/{origem}

Path parameters

origem'winker' | 'app' required

Nome de origem do SSO

Request body

tokenssostring required

Example request

{
  "tokensso": "a2f0d3a57a74cc970b0ce502af9a779e4ff901c6bb1cdbdc99353cde700f5229"
}

Response

Login válido

access_tokenstring required

JWT de para autenticação

token_typestring required

Tipo da autenticação

expires_ininteger required

Tempo em segundos que o token é válido

Example response

{
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvcmVsYWNpb25hci5jb25zdHJ1dG9yZGV2ZW5kYXMuY29tLmJyIiwic3ViIjoiOTU3OSIsImlhdCI6MTYwOTc4MDMwMSwibmJmIjoxNjA5NzgwMzAxLCJleHAiOjE2MDk3ODM5MDF9.Snlcld9eG-3tp5yeexNPNe2liQcKa789Btqf-RWwY7LmJyQVhO6WriNjZg-ryEkh2DzEzYHcrpsC4OfpYNWm7MY4nN6hPmFWdMKTsrZdes1g6T-IlYi65xHOfg24mD_KSdBzJ1ED_9MtjqocBBWYbOu3MvC4BGslpR2DI9FjA3c",
  "token_type": "Bearer",
  "expires_in": 3600
}