Rivier/ Reference/ keys

The person's decision; answers the address to send the browser to

post/oauth/authorize

Before you call

Credential
Authorization: Bearer $KEY
Scope
keys:write
Sdk
keys.consent.decide
Cli
keys consent decide

Request bodyapplication/json, required

  • client_idstringrequired
    At most 100 characters.
  • redirect_uristringrequired
    At most 500 characters.
  • response_typestringrequired
    At most 20 characters.
  • scopestringrequired
    At most 2000 characters.
  • statestring
    At most 500 characters.
  • code_challengestringrequired
    At most 200 characters.
  • code_challenge_methodstringrequired
    At most 20 characters.
  • approvebooleanrequired

Responses

  • 200application/json
    Success
    • redirectstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown