docq
docq copied to clipboard
CORE: API Key based authentication
Current
The Web API only supports JWT token authentication based on user authentication. There's limited support for scenarios where a client app needs access the API without a user context (i.e. machine to machine). The main use case is for public access functionality such as bots/assistants/help docs Q&A.
Solution
We want to enable org admins to generate and mange API key.
- Generate key
- Give the key a name
- choose expiry options ['1day', 7days, 30days, never expire]
- delete a key (to revoke)
- able to generate multiple keys
- initially full scopes but in the future ability to limit scope.