OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Document selection of authentication mechanisms
Oliver Günthera231e886d0a6
diff --git a/docs/development/concepts/secure-coding/README.md b/docs/development/concepts/secure-coding/README.mdindex e83302719af..28e647af4ec 100644--- a/docs/development/concepts/secure-coding/README.md+++ b/docs/development/concepts/secure-coding/README.md@@ -45,7 +45,7 @@ Implement strong authentication mechanisms for any sensitive credentials to be u**Guidelines**- Ensure uniqueness and case-insensitivity of user logins.-- Use crytographic hashes for password or credentials storage (OpenProject uses BCrypt for internal user passwords and SHA256 for OAuth access tokens)+- Use crytographic hashes for password or credentials storage- Allow administrators to enforce strong password policies with a combination of characters, numbers, and special symbols. Implement password expiration and account lockout mechanisms.- Implement mechanisms to protect against brute force attacks, such as account lockouts, rate limiting, or increasing delays after multiple failed login attempts.- Use strong password controls and validations@@ -55,6 +55,17 @@ Implement strong authentication mechanisms for any sensitive credentials to be u+**Usage at OpenProject**++OpenProject uses industry standard authentication mechanisms that follow the best practices and are the de-facto norm for many organizations:++- External authentication providers using OpenID connect protocols or SAML 2.0 protocol+- External authentication through LDAP user binds, optional LDAP user and group membership synchronization (Enterprise-Edition add-on)+- OAuth 2.0 application authentication and authorization with OpenProject acting as the authorization server. Access tokens are hashed using SHA256 in the database.+- Internal user credential authentication against passwords stored in BCrypt with a high default yet configurable cost factor depending on the organizational requirements.+++**References**https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html