定制 howard/howard_openid_connect_windows_aad 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

howard/howard_openid_connect_windows_aad

Composer 安装命令:

composer require howard/howard_openid_connect_windows_aad

包简介

Professional Drupal module providing seamless integration between Drupal and Microsoft Azure Active Directory through OpenID Connect, specifically customized for Howard University's authentication requirements.

README 文档

README

License Drupal PHP

A professional Drupal module providing seamless integration between Drupal and Microsoft Azure Active Directory through OpenID Connect, specifically customized for Howard University's authentication requirements.

Quick Start

  1. Install the module:

    composer require howard/howard_openid_connect_windows_aad
    drush en howard_openid_connect_windows_aad
  2. Configure Azure AD:

    • Set up your Azure AD application (detailed guide)
    • Configure redirect URIs and permissions
  3. Configure Drupal:

    • Visit /admin/config/services/openid-connect
    • Select "Howard University Azure AD" as client
    • Enter your Azure AD credentials
  4. Test authentication:

    • Visit /openid-connect/howard_windows_aad
    • Complete the SSO flow

Features

🔐 Secure Authentication

  • Single Sign-On (SSO) with Azure Active Directory
  • OAuth2/OpenID Connect compliance
  • CSRF protection and secure token handling
  • HTTPS enforcement for all authentication flows

👥 User Management

  • Automatic user creation from Azure AD profiles
  • Profile synchronization with Azure AD data
  • Group-based role mapping from Azure AD to Drupal roles
  • Microsoft Graph API integration for enhanced group fetching
  • Automatic fallback to Graph API when groups are missing from authentication
  • Customizable user field mapping

🛠 Howard University Customizations

  • Specialized authentication flow for Howard University
  • Custom group mapping logic for Howard's organizational structure
  • Enhanced security measures for educational environments
  • Integration with Howard's existing systems

🎨 User Experience

  • Seamless login experience with Azure AD credentials
  • Automatic redirects to intended destinations
  • Clean user interfaces with hidden local password fields
  • Mobile-responsive authentication flows

⚙️ Administration

  • Comprehensive configuration options through Drupal admin UI
  • Detailed logging for authentication events and errors
  • Flexible role mapping configuration
  • Easy troubleshooting with built-in diagnostics

Architecture

This module extends Drupal's OpenID Connect ecosystem with:

  • Plugin-based architecture for easy extension
  • Event-driven processing for customization hooks
  • Service-oriented design with dependency injection
  • Configuration API integration for settings management
  • PSR-4 compliant autoloading and namespace organization

Documentation

Document Description
Installation Guide Complete setup instructions with Azure AD configuration
API Documentation Technical API reference and integration details
Developer Guide Development setup, testing, and contribution guidelines
Changelog Version history and release notes
Coding Standards Code quality and style guidelines
Release Checklist Quality assurance and release procedures

Requirements

System Requirements

  • Drupal: 9.x, 10.x, or 11.x
  • PHP: 8.1 or higher
  • Database: MySQL 5.7+, PostgreSQL 10+, or MariaDB 10.3+
  • Web Server: Apache 2.4+ or Nginx 1.12+

Dependencies

  • OpenID Connect (^1.4 || ^2.0 || ^3.0)
  • Azure AD tenant with configured application
  • SSL/TLS certificate (required for production)

Recommended

Installation

Via Composer (Recommended)

# Install the module
composer require howard/howard_openid_connect_windows_aad

# Enable the module
drush en howard_openid_connect_windows_aad

# Clear cache
drush cr

Manual Installation

  1. Download the latest release from the repository
  2. Extract to modules/contrib/howard_openid_connect_windows_aad
  3. Enable via Drupal admin interface or Drush

For detailed installation instructions, see the Installation Guide.

Configuration

Basic Setup

  1. Navigate to OpenID Connect settings:

    Administration » Configuration » Web Services » OpenID Connect
    
  2. Select Howard University Azure AD client:

    • Check "Howard University Azure AD"
    • Configure client credentials from Azure AD
  3. Configure role mapping:

    • Map Azure AD groups to Drupal roles
    • Set default roles for new users
  4. Test the configuration:

    • Use the built-in test functionality
    • Verify user creation and role assignment

Advanced Configuration

  • Custom field mapping for user profiles
  • Group-based access control configuration
  • Logging and monitoring setup
  • Performance optimization settings

See the Installation Guide for comprehensive configuration details.

Security

This module implements enterprise-grade security measures:

  • OAuth2/OpenID Connect standard compliance
  • HTTPS enforcement for all authentication flows
  • CSRF protection using state parameters
  • Token validation and secure storage
  • Input sanitization and output encoding
  • Session security with proper handling
  • Regular security audits and updates

For detailed security information, see the Installation Guide.

Support

Getting Help

  • Documentation: Check the docs directory for comprehensive guides
  • Issues: Report bugs and feature requests through the project repository
  • Community: Join Howard University's developer community discussions

Professional Support

For enterprise support and custom development:

  • Contact Howard University IT Services
  • Professional consulting available through approved vendors

Contributing

We welcome contributions! Please see our Developer Guide for:

  • Development environment setup
  • Coding standards and guidelines
  • Testing requirements
  • Submission process

Quick Contribution Guide

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes following our coding standards
  4. Add/update tests as needed
  5. Update documentation
  6. Submit a pull request

Testing

# Run unit tests
./vendor/bin/phpunit

# Check coding standards
./vendor/bin/phpcs --standard=Drupal,DrupalPractice src/

# Static analysis
./vendor/bin/phpstan analyse src/

See the Developer Guide for comprehensive testing information.

Changelog

See CHANGELOG.md for detailed version history and release notes.

License

This project is licensed under the GNU General Public License v2.0 or later - see the LICENSE file for details.

Credits

Development Team

  • Howard University IT Services - Primary development and maintenance
  • idfive - Component library and theming support

Based On

Special Thanks

  • Drupal community for the robust OpenID Connect ecosystem
  • Microsoft for comprehensive Azure AD documentation
  • All contributors and beta testers

Howard University | Information Technology Services
Empowering education through innovative technology solutions

howard/howard_openid_connect_windows_aad 适用场景与选型建议

howard/howard_openid_connect_windows_aad 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 198 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 11 月 01 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「Authentication」 「oauth2」 「module」 「SSO」 「drupal」 「azure」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 howard/howard_openid_connect_windows_aad 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 howard/howard_openid_connect_windows_aad 我们能提供哪些服务?
定制开发 / 二次开发

基于 howard/howard_openid_connect_windows_aad 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 198
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 21
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2021-11-01