https://github.com/elyerr/oauth2-passport-server
A robust, centralized authorization server built with Laravel and Laravel Passport, designed to provide secure authentication and authorization for modern applications.
https://github.com/elyerr/oauth2-passport-server
laravel laravelpassport modular oauth2 oauth2-server openid openid-connect sass server web webservice
Last synced: 11 months ago
JSON representation
A robust, centralized authorization server built with Laravel and Laravel Passport, designed to provide secure authentication and authorization for modern applications.
- Host: GitHub
- URL: https://github.com/elyerr/oauth2-passport-server
- Owner: elyerr
- License: other
- Created: 2025-07-18T23:43:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-12T18:56:56.000Z (11 months ago)
- Last Synced: 2025-08-12T20:40:45.299Z (11 months ago)
- Topics: laravel, laravelpassport, modular, oauth2, oauth2-server, openid, openid-connect, sass, server, web, webservice
- Language: PHP
- Homepage:
- Size: 9.43 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# OAuth2 Passport Server
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
- [Documentation](https://gitlab.com/elyerr/oauth2-passport-server/-/wikis/home)
- [API Documentation](https://documenter.getpostman.com/view/5625104/2sB2xBDq6o)
- [Echo Server](https://gitlab.com/elyerr/echo-server) (coming soon)
- [Echo Client](https://gitlab.com/elyerr/echo-client-js) (coming soon)
---
## Deployment Guides
- [English Documentation](./docs/deploy/deploy_en.md)
- [Spanish Documentation](./docs/deploy/deploy_es.md)
## Developers Guides
- [English Documentation](./docs/dev/developers_en.md)
- [Spanish Documentation](./docs/deploy/deploy_es.md)
---
## Notes
### Regenerating OAuth2 Keys
To regenerate OAuth2 keys, follow these steps:
1. Access the admin panel terminal.
2. Run the following command:
```bash
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
- Privacy-first alternative to reCAPTCHA.
- Generous free usage.
- [Get your site key](https://dashboard.hcaptcha.com/signup)
### Cloudflare Turnstile
- User verification without traditional CAPTCHAs.
- Seamless and user-friendly.
- [Get your site key](https://dash.cloudflare.com/)
### 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](https://t.me/elyerr).