https://github.com/takuya/socialitemattermostprovider
SocialiteServiceProvider で mattermost にログインできるように
https://github.com/takuya/socialitemattermostprovider
Last synced: about 1 year ago
JSON representation
SocialiteServiceProvider で mattermost にログインできるように
- Host: GitHub
- URL: https://github.com/takuya/socialitemattermostprovider
- Owner: takuya
- License: gpl-3.0
- Created: 2018-07-19T13:53:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-21T11:00:08.000Z (almost 8 years ago)
- Last Synced: 2025-02-09T01:14:04.005Z (over 1 year ago)
- Language: PHP
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Socialite Providers for mattermost
use laravel/.env
```
MATTERMOST_KEY=your_key
MATTERMOST_SECRET=your_secret
MATTERMOST_REDIRECT_URI=https://localhost:8000/login/mattermost/callback
MATTERMOST_INSTANCE_URI=https://your-instance.mattermost.example/
```
# install using composer
```sh
composer install
```
### composer.json
installing from github
```json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/takuya/SocialiteMattermostProvider"
}
],
"require": {
"socialiteproviders/mattermost": "dev-master"
}
```
## add reference to EventServiceProvider.php
```php
class EventServiceProvider extends ServiceProvider {
protected $listen = [
// add for login
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
'SocialiteProviders\\Mattermost\\MattermostExtendSocialite@handle',
],
];
```