plankanban/planka

[Feature]: API Key support

Opened this issue · 3 comments

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

  • Request an API key for an account
  • Cycle an API key for an account
  • Remove the API key for an account

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

@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.

Hi! This would be very useful, and I appreciate your willingness to implement it! You're right that waiting for version 2 might be better, as it will make migrating the current changes easier. On the other hand, implementing it now wouldn’t be a significant problem either.

Yes please, offering my time to help and debug.