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

[Feature]: API Key support #945

Open
3 tasks
JustSamuel opened this issue Nov 15, 2024 · 2 comments
Open
3 tasks

[Feature]: API Key support #945

JustSamuel opened this issue Nov 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@JustSamuel
Copy link
Contributor

JustSamuel commented Nov 15, 2024

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

@JustSamuel
Copy link
Contributor Author

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

@meltyshev
Copy link
Member

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.

@meltyshev meltyshev added the enhancement New feature or request label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants