Skip to content
TasksMate Developers

0.x — pre-release, no compatibility promise yet.What this means

GET/oauth/authorize

Start an authorization: the person signs in to TasksMate, picks the organization and approves the scopes; the browser then returns to redirect_uri with code and state (or error and state).

response_type
Any of:
string

Must be code

client_id
Any of:
string

The app’s tmc_… id

redirect_uri
Any of:
string

Exactly one of the app’s registered redirect URIs

scope
Any of:
string

Space-separated scopes, within the app’s allowed scopes

state
Any of:
string

Required: an opaque value returned unchanged

code_challenge
Any of:
string

Required: base64url(SHA-256(code_verifier)), 43 characters

code_challenge_method
Any of:
string

Must be S256

To the consent screen, or back to the app with error and state

An HTML error page: unknown app or unregistered redirect URI (never redirected)

Media typetext/html
string

Validation Error

Media typeapplication/json
HTTPValidationError

A HTTPValidationError object.

object
detail
Detail
Array<object>
ValidationError

Part of HTTPValidationError.

object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example

{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"ctx": {}
}
]
}