jaewun/discourse-sso-laravel

This package is abandoned and no longer maintained. The author suggests using the spinen/laravel-discourse-sso package instead.

A package specifically for Laravel, helping with Discourse's SSO login.

1.1.1 2015-10-27 06:57 UTC

This package is auto-updated.

Last update: 2019-09-19 13:04:58 UTC


README

Latest Version on Packagist Software License Total Downloads

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.

This Project Is Abandoned

This project is no longer maintained. I recommend using spinen/laravel-discourse-sso

Warning

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.*

Via Composer

$ composer require jaewun/discourse-sso-laravel

After updating composer, add the ServiceProvider to the providers array in config/app.php

jaewun\DiscourseSSOLaravel\SSOServiceProvider::class,

You'll also need to configure SSO to ensure it's passing the correct information to Discourse

php artisan vendor:publish

Change log

Please see CHANGELOG for more information what has changed recently.

Security

If you discover any security related issues, please email jaewun@me.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.