plankanban / planka

The realtime kanban board for workgroups built with React and Redux.
https://planka.app
GNU Affero General Public License v3.0
8.05k stars 754 forks source link

[Feature]: API Key support #945

Open JustSamuel opened 2 hours ago

JustSamuel commented 2 hours ago

Is this a feature for the backend or frontend?

Backend

What would you like?

Add API keys to PLANKA. These API keys should be an alternative method to username password authentication. Most suitable for service accounts.

The following features would be nice

Possible also an overview of accounts with an API key for admins.

Why is this needed?

Currently, it is only possible to programmatically authenticate using a username and password. (Or an OIDC hack-ish method which allows for an API key)

This makes it more involved to create add-on software.

Currently, I have a project which enables emailing to a planka board. However, to get an API key I added a long-lived session token in the database manually, by signing it myself.

This is quite involved and will most likely mean that others are unable to use the service.

Other information

No response

JustSamuel commented 2 hours ago

@meltyshev I would be willing to work on this myself, but with the possibility of v2 arriving, I am unsure how useful this would be at this moment.