Skip to content

Conversation

@jcatrysse
Copy link

This version is still in a preproduction beta stage and would benefit from further testing and validation. I was unable to extensively test all functionalities or providers. I am running Microsoft Entra Id without issues.

2.0.0 - 2025-09-13

  • Adapted and extended by Jan Catrysse
    Copyright (c) 2025 Jan Catrysse
  • Licensed under the MIT License (see LICENSE file for details).
  • BETA RELEASE: due to the extensive refactoring, this version still needs further testing.
    Don't use in production.

Security

  • Reactivate Redmine's authenticity_token protection.
  • Implement PKCE support in OAuth flow.
  • Add support for id_token / JWKS handling.
  • Add timeouts and error handling for HTTP requests.

OAuth Flow

  • OAuth endpoints accessible without prior Redmine login or when login is disabled (authorize/callback skip check_if_login_required).
  • Full OAuth validate_flow rake task to inspect code → token → userinfo and resolved mappings.
  • Provider logout support with redirect via configurable Logout URL.

User & Provisioning

  • Configurable user mapping (login/email/first/last), presets (generic/microsoft/google), and mapping to User Custom Fields.
  • Provisioning options: toggles for auto-create and update-existing; default group assignment for new users.
  • MFA bypass option for SSO logins.
  • Configurable login-or-email vs. login-only matching.
  • Email matching/updates now case-insensitive via EmailAddress.

Localization & UI

  • Localized UI and flash messages; new locales (en, nl, fr, de, es, it, pt).
  • Login screen redesign.

Tooling

  • Automatic OAuth setup.
  • Expanded rake suite: enable|disable, enable_bypass_twofa|disable_bypass_twofa, validate_flow.
  • Added RSpec tests and GitHub Actions workflows for Redmine 5.1 and 6.0.

Fixes

  • Consistent boolean parsing (1/true).
  • Minor fixes, updates and refactoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant