プロジェクト

全般

プロフィール

Vote #78259

未完了

[API] authentication with JSON Web Tokens

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
0
issue_org_id:
25140
author_id:
88801
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Currently, the API only accepts two ways to authenticate users:

  • HTTP Basic authentication (logins and passwords are sent with each request)
  • API key

We could secure this process and make it easier to use.
Allowing JWT (JSON web token) authentication could be a great improvement.


journals

Vincent Robert wrote:
> We could secure this process and make it easier to use.

Whoud you like to secure api calls?
Or You want to rewrite front panel working process too?

--------------------------------------------------------------------------------
Hi Serguei,
I am just talking about API calls here. I could work on this feature, but I would like to know the opinion of core contributors first.
Thanks
--------------------------------------------------------------------------------
Good point. I would go so far and also allow this not only for API calls but also for normal UI as well (enabling SSO use cases via JWT for example)
--------------------------------------------------------------------------------
I think JWT is necessary.

Using the API key will require more actions, which is to force the user to create a key, then copy the API key into their application.

JWT authentication is simply using username/password

When we embed Redmine API into the mobile app, then JWT must be used.

If you use Redmine core in multi-million users application, then each request from the client on the mobile or the desktop and it will cause Redmine to query the Token table in the DB.

It is not effective and it will overload.
--------------------------------------------------------------------------------

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0