elyerr/oauth2-passport-server

OAuth Authorization server

v3.0.3 2025-08-02 00:54 UTC

This package is auto-updated.

Last update: 2025-08-02 05:56:27 UTC


README

A robust and centralized authorization server built with Laravel and Laravel Passport. It provides secure authentication and authorization for modern applications using both OAuth2 and OpenID Connect protocols. This solution is ideal for handling complex user management and secure integration across diverse client applications.

Key Features

  • User Management:
    Comprehensive administration capabilities including user profiles, roles, and permissions.

  • Configurable Settings:
    Intuitive admin panel to manage environment variables, security options, and integrations.

  • Standard Protocol Support:
    Implements OAuth2 and OpenID Connect for secure authorization, token management, and federated identity.

  • Admin Dashboard:
    Powerful interface for overseeing users, settings, and system operations.

This server is designed to work seamlessly with both microservices and monolithic architectures, supporting any programming language or database for secure connections and authentication.

Resources

Deployment Guides

Developers Guides

Notes

Regenerating OAuth2 Keys

To regenerate OAuth2 keys, follow these steps:

  1. Access the admin panel terminal.
  2. Run the following command:
php artisan passport:keys --force

Payment Methods

Stripe

  • Webhook (POST): https://domain.com/webhook/stripe
  • Events Handled:
    • checkout.session.completed
    • payment_intent.payment_failed
    • checkout.session.expired
    • charge.succeeded

Offline Payment

  • Offline: Supports manual payment methods.

Note: Automatic renewal is enabled for all payment methods except Offline.
Configure renewal options through the Admin panel under Settings → Payment → Renew.

CAPTCHA Providers

Enhance form security and prevent spam with the following CAPTCHA options:

hCaptcha

Cloudflare Turnstile

  • User verification without traditional CAPTCHAs.
  • Seamless and user-friendly.
  • Get your site key

Configuration

To activate your preferred CAPTCHA provider:

  1. Navigate to Admin → Settings → Security.
  2. Select your desired provider (hCaptcha or Turnstile).

The system will automatically render the selected CAPTCHA on frontend forms.

Contact

For more information or assistance, join our community on Telegram.