Skip to content

OAuth users cannot confirm password for sensitive actions (Administration, settings, etc.) #95

Description

@tuzumkuru

Hi,

Thanks for developing and maintaining this plugin. I love using this plugin and making Google OAuth a SSO option for Redmine. I have a problem though:

When using this plugin, login works fine. However, after some time in the session, if I try to change settings Redmine asks for a password confirmation. Since OAuth users don’t have a local password, they cannot continue. This is also a problem if I use sudo_mode. Some time after login, if I want to act as an administrator, it asks password but no option go authenticate through OAuth.

Steps to reproduce:

  • Log in to Redmine using OAuth.
  • Wait some time after login (session idle period).
  • Try to change a setting.
  • Redmine asks for password confirmation.

OAuth user cannot proceed (no local password).

Expected behavior:
OAuth users should be able to bypass or satisfy password confirmation without needing a local password.

I believe this would be a necessary feature/fix for this plugin. Otherwise what would you suggest?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions