OpenCannabis: OAuth Extension

  • Version 1.0
  • Status: RAW

Status of this Memo

This specification's current status is considered RAW, i.e. pre-DRAFT. Distribution of this memo is unlimited.


This document describes an extension to the OpenCannabis Specification, version 1, that introduces oauth-related definitions structures, and services that compose, create and reference oath.

"OAuth" in this context, refers to:

  • The client who is authorizing the request I.E. Google
  • The scope of the authorization

Table of Contents

Protocol Definition


Client client_id:string client_secret:string ClientID id:string ClientService secret:string


Specifies an OAuth2-client that can perform authorization operations in certain circumstances.

Field Type Label Description
client_id string ID for this OAuth2 client.
client_secret string Secret (password) for this OAuth2 client.


Independent ID structure for an OAuth2 client.

Field Type Label Description
id string ID for the OAuth2 client.


Independent secret value structure for an OAuth2 client.

Field Type Label Description
secret string Secret value for the the OAuth2 client.

results matching ""

    No results matching ""