A package specifically for Laravel, helping with Discourse’s SSO login.
A simple Discourse SSO integration for Laravel 5.1.
The goal of this project is help users get SSO up and working on Laravel with as little hassles as possible.
As per Discourse’s SSO Guide…
Discourse uses emails to map external users to Discourse users, and assumes that external emails are secure.
IF YOU DO NOT VALIDATE EMAIL ADDRESSES BEFORE SENDING THEM TO DISCOURSE, YOUR SITE WILL BE EXTREMELY VULNERABLE!
Installation for Laravel 5.*
$ composer require jaewun/discourse-sso-laravel
After updating composer, add the ServiceProvider to the providers array in config/app.php
You’ll also need to configure SSO to ensure it’s passing the correct information to Discourse
php artisan vendor:publish
Please see CHANGELOG for more information what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.