Project

General

Profile

Actions

Feature #24808

closed

OAuth2 support for Redmine API Apps (OAuth2 Provider)

Added by Jan from Planio www.plan.io over 8 years ago. Updated 6 days ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

I think, we should make Redmine an OAuth2 provider, so that client apps using Redmine's API can ask users to authenticate rather than asking for an API key. Another goal would be to limit access to API client apps, so that not all apps gain access to the full scope of data a user has access to.

I'm working on this currently and I will hopefully be able to submit a patch soon. Here's a first screenshot:


Files

redmine_oauth2_provider.png (330 KB) redmine_oauth2_provider.png Jan from Planio www.plan.io, 2017-01-11 11:54
my_account.png (80.6 KB) my_account.png Jan from Planio www.plan.io, 2017-01-18 17:35
authorized_apps.png (206 KB) authorized_apps.png Jan from Planio www.plan.io, 2017-01-18 17:35
auth_prompt.png (218 KB) auth_prompt.png Jan from Planio www.plan.io, 2017-01-18 17:35
apps.png (261 KB) apps.png Jan from Planio www.plan.io, 2017-01-18 17:35
0001-Use-named-routes-for-search-in-base-layout.patch (2.83 KB) 0001-Use-named-routes-for-search-in-base-layout.patch Jan from Planio www.plan.io, 2017-01-18 17:46
0002-Prevent-hash-type-URLs-from-being-namespaced-in-Menu.patch (2.03 KB) 0002-Prevent-hash-type-URLs-from-being-namespaced-in-Menu.patch Jan from Planio www.plan.io, 2017-01-18 17:46
0004-Redmine-style-UI-for-Doorkeeper-OAuth2-provider.patch (15.7 KB) 0004-Redmine-style-UI-for-Doorkeeper-OAuth2-provider.patch Jan from Planio www.plan.io, 2017-01-18 17:46
0005-Add-optional-scope-parameter-to-Role-allowed_to.patch (4.27 KB) 0005-Add-optional-scope-parameter-to-Role-allowed_to.patch Jan from Planio www.plan.io, 2017-01-18 17:46
0006-Use-Redmine-s-permissions-as-OAuth2-scopes.patch (7.87 KB) 0006-Use-Redmine-s-permissions-as-OAuth2-scopes.patch Jan from Planio www.plan.io, 2017-01-18 17:46
0003-Add-OAuth2-provider-capability-using-doorkeeper-gem.patch (9.81 KB) 0003-Add-OAuth2-provider-capability-using-doorkeeper-gem.patch Jan from Planio www.plan.io, 2017-01-29 16:23
0001-oauth-Use-named-routes-in-base-layout-and-account-si.patch (4.39 KB) 0001-oauth-Use-named-routes-in-base-layout-and-account-si.patch Jens Krämer, 2020-07-21 13:05
0002-oauth-Prevent-hash-type-URLs-from-being-namespaced-i.patch (2.04 KB) 0002-oauth-Prevent-hash-type-URLs-from-being-namespaced-i.patch Jens Krämer, 2020-07-21 13:05
0003-oauth-Add-OAuth2-provider-capability-using-doorkeepe.patch (10.1 KB) 0003-oauth-Add-OAuth2-provider-capability-using-doorkeepe.patch Jens Krämer, 2020-07-21 13:05
0004-oauth-Redmine-style-UI-for-Doorkeeper-OAuth2-provide.patch (15.6 KB) 0004-oauth-Redmine-style-UI-for-Doorkeeper-OAuth2-provide.patch Jens Krämer, 2020-07-21 13:05
0005-oauth-Add-optional-scope-parameter-to-Role-allowed_t.patch (4.23 KB) 0005-oauth-Add-optional-scope-parameter-to-Role-allowed_t.patch Jens Krämer, 2020-07-21 13:05
0006-oauth-Use-Redmine-s-permissions-as-OAuth2-scopes.patch (10.1 KB) 0006-oauth-Use-Redmine-s-permissions-as-OAuth2-scopes.patch Jens Krämer, 2020-07-21 13:05
0007-oauth-adds-system-test-to-test-the-oauth-provider-ca.patch (4.68 KB) 0007-oauth-adds-system-test-to-test-the-oauth-provider-ca.patch Jens Krämer, 2020-07-21 13:05
0002-Prevent-hash-type-URLs-from-being-namespaced-in-Menu.patch (2.03 KB) 0002-Prevent-hash-type-URLs-from-being-namespaced-in-Menu.patch Jens Krämer, 2020-08-27 05:04
0001-Use-named-routes-in-base-layout-and-account-sidebar.patch (4.38 KB) 0001-Use-named-routes-in-base-layout-and-account-sidebar.patch Jens Krämer, 2020-08-27 05:04
0003-Add-optional-scope-parameter-to-Role-allowed_to.patch (4.22 KB) 0003-Add-optional-scope-parameter-to-Role-allowed_to.patch Jens Krämer, 2020-08-27 05:04
0004-Add-OAuth2-provider-capability-using-doorkeeper-gem.patch (42.1 KB) 0004-Add-OAuth2-provider-capability-using-doorkeeper-gem.patch Jens Krämer, 2020-08-27 05:04
0003-Add-optional-scope-parameter-to-Role-allowed_to.patch (4.22 KB) 0003-Add-optional-scope-parameter-to-Role-allowed_to.patch Jens Krämer, 2021-04-13 08:16
0004-Add-OAuth2-provider-capability-using-doorkeeper-gem.patch (42.2 KB) 0004-Add-OAuth2-provider-capability-using-doorkeeper-gem.patch Jens Krämer, 2021-04-13 08:16
0002-Quick-workaround-to-remove-languages-added-by-doorke.patch (857 Bytes) 0002-Quick-workaround-to-remove-languages-added-by-doorke.patch Marius BĂLTEANU, 2025-05-30 20:19
0003-Switch-server-used-in-oauth_provider-test-from-webri.patch (2.49 KB) 0003-Switch-server-used-in-oauth_provider-test-from-webri.patch Marius BĂLTEANU, 2025-05-30 20:19
0001-Oauth-provider.patch (47.2 KB) 0001-Oauth-provider.patch Marius BĂLTEANU, 2025-05-30 20:19
fix-plugin-permissions-are-not-loaded.patch (1.28 KB) fix-plugin-permissions-are-not-loaded.patch Katsuya HIDAKA, 2025-06-19 08:40

Related issues

Related to Redmine - Patch #38529: Limit available locales to those defined by Redmine itselfClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF