OAuthClients Module

Purpose

Provides OAuth client/provider plumbing and token/authorization endpoints for SSO and third-party integrations.

Enablement and Scope

  • Module is present with foundational routes and provider interfaces.
  • Some OAuth flows are also exposed by Admin module endpoints.

Key Features

  • OAuth authorize endpoint
  • OAuth token endpoint
  • Provider abstraction support

Primary Routes

  • GET|POST /oauth/authorize
  • GET|POST /oauth/token

Important Files

  • public_html/modules/OAuthClients/routes.php
  • public_html/modules/OAuthClients/Controllers/
  • public_html/modules/OAuthClients/Providers/
  • public_html/modules/OAuthClients/OAuthClientInterface.php
  • public_html/modules/OAuthClients/README.md

Notes

  • Coordinate route ownership with Admin module to avoid duplicate/conflicting OAuth routes.
  • Treat this module as security-sensitive; review token handling and grant validation before external rollout.