Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support API keys for authenticating users as service accounts #63

Open
solocommand opened this issue Apr 23, 2020 · 0 comments
Open

Support API keys for authenticating users as service accounts #63

solocommand opened this issue Apr 23, 2020 · 0 comments
Labels
help wanted Extra attention is needed ⚙️ service: graphql Related to the graphql service ⚙️ service: manage Related to the manage service ⚙️ service: user Related to the user service

Comments

@solocommand
Copy link
Member

User Service

  • Add an API key field to the user schema
  • Add an action for updating a user with a newly generated API key (UUID + ENV var hash)

GraphQL Service

  • Add mutation for calling user.regenerateApiKey on the currently logged in user
  • Add a serviceAccountLogin mutation to generate a short-lived token, provided a valid API key

Management

  • Add a readonly/copyable field to display the user's current API key.
  • Add a refresh confirmable button to (re-)generate an API key
@solocommand solocommand added help wanted Extra attention is needed ⚙️ service: graphql Related to the graphql service ⚙️ service: manage Related to the manage service ⚙️ service: user Related to the user service labels Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed ⚙️ service: graphql Related to the graphql service ⚙️ service: manage Related to the manage service ⚙️ service: user Related to the user service
Projects
None yet
Development

No branches or pull requests

1 participant