Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Register bot user #32

Open
titpetric opened this issue Feb 8, 2019 · 0 comments
Open

Register bot user #32

titpetric opened this issue Feb 8, 2019 · 0 comments

Comments

@titpetric
Copy link
Collaborator

We have a special user type for bots already defined. We need applicable user creation APIs that will allow a registered user to create a bot account, and retrieve it's login credentials in order for a bot to interact with our full API.

We already have /users/create that may create our bot users, but we need something to link the originating account (i.e. "Tit Petric" created bot account "Servant" - we need a relationship in the database which will let the principal account list the bot accounts he created, as well as any credentials that we need to use the bot account).

  • link bot accounts to main user account that created them,
  • enable listing bot credentials (public key + secret key),
  • oauth2 client-credentials grant for bots to get a JWT token,
  • ability to refresh JWT token based on previous JWT token,
  • bots must not be able to log in with /auth/login

Related trello card here

@titpetric titpetric added this to the Unplanned milestone Feb 8, 2019
@darh darh removed this from the Unplanned milestone Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants