{"repo":"murilolivorato/laravel_sso","free":true,"listed":false,"github":"https://github.com/murilolivorato/laravel_sso","clone":"git clone https://github.com/murilolivorato/laravel_sso.git","description":"Laravel project demonstrating a Single Sign-On (SSO) implementation across multiple applications using Laravel Passport or custom tokens.","language":"PHP","stars":15,"topics":["laravel","sso","sso-authentication","sso-login"],"license":null,"category":"auth-billing-email","readme_excerpt":"Laravel SSO Server (Auth Provider) This is the SSO (Single Sign-On) Server for Laravel applications. It manages user authentication and securely issues tokens for connected client applications. 📖 Step-by-step tutorial on Medium Laravel provides solutions for SSO (Single Sign-On) authentication with Laravel Passport , enabling users to access multiple applications with a single set of credentials, making it easy to implement a robust and secure SSO solution. I shared my solution at this code . What I did I created 2 Laravel projects and I used Laravel Passport for OAuth2 authorization . The Auth project — is responsible to allows and centralize those users . The Supervisor project — it is the backend for the adminstrator area for supervisor users . --- 🚀 Setup 1. Clone the repo 2. Install dependencies 3. Set up environment Copy .env.example and configure: Update the .env file with your database and encryption key: 4. Run migrations --- 📌 How it Works - Provides login and logout endpoints - Issues encrypted tokens to client apps - Client apps call a /user endpoint with the token to retrieve user data --- 📂 Key Endpoints - GET /login : Login page - POST /login : Handles login - GET /logout : Logs out user - POST /sso/token : Returns user data based on encrypted token --- 🛡 Security - Tokens are encrypted using Laravel’s Crypt - Always use HTTPS in production - The encryption key must match across all apps --- 👨‍💻 Author Murilo Livorato 🔗 Medium Article 📸 Screenshots Log","default_branch":null,"files":null,"tree":[],"storefront":"/r/murilolivorato","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/murilolivorato/laravel_sso/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}