プロジェクト

全般

プロフィール

Vote #73261

未完了

Http 401 authenticate pop up with ajax request

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

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

0%

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

説明

Hi.

With some Ajax request, application controller say 401 unauthorized and a pop up is display to login.
But login and password don't work on this pop up.

I think, I have 401 because session was closed.
It's easy to reproduce even on this website, but my version of Redmine it's 1.4.4.
Logon, click on new issue.
Right click on logout and select open on new window.
Come back to the first window and try to change tracker.
A pop up is display because browser receive 401 error.

To correct this problem I have to check "Enable REST web service" and add "New" in issues_controller.rb at the end of the line :
accept_api_auth :index, :show, :create, :update, :destroy
With this solution, I can change the tracker even if the session is not active anymore. But when I click on "Create" I am redirected to login page and all information entered in the page "New issue" are lost.

Is there a solution to fix this problem, because I am at the limit of my knowledge.

Thanks
Fabien

Admin Redmine さんがほぼ4年前に更新

  • カテゴリAccounts / authentication_7 にセット

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

いいね!0
いいね!0