OAuth applications

Register a Team website

Changed on

Registers a website login client for a Team and returns its first credential once.

post/oauth-applications

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Request body

object required

Registration request for a new Team website.

teamId, string required

Unique team identifier

name, string required

Operator-facing name for this website.

redirectUris, string[] required

Exact HTTPS callback URLs. HTTP is allowed only for non-production loopback.

requestId, string uuid required

Caller-generated idempotency key. Reusing it returns a conflict rather than a second application.

Response

OK

object required

One-time credential issuance response. Must not be logged or cached.

application, object required

A Team-owned website login application. Credential secrets are never included.

clientSecret, string required

New credential. Display once and store only on the website server.

Changes

    • breaking

      the redirectUris request property's minItems was increased to 1

    • breaking

      the name request property's minLength was increased from 0 to 1

    • breaking

      added the pattern ^tem_[0-9a-z]{26}$ to the request property teamId

    5 more changes in this revision