https://github.com/takuya/socialitebacklogprovider
Socialite Providers for Backlog
https://github.com/takuya/socialitebacklogprovider
Last synced: 8 months ago
JSON representation
Socialite Providers for Backlog
- Host: GitHub
- URL: https://github.com/takuya/socialitebacklogprovider
- Owner: takuya
- License: gpl-3.0
- Created: 2018-07-19T14:02:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-21T11:21:47.000Z (almost 8 years ago)
- Last Synced: 2025-02-09T01:14:05.157Z (over 1 year ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Socialite Providers for Backlog
use laravel/.env or config/service.php
```
BACKLOG_KEY=your_key
BACKLOG_SECRET=your_secret
BACKLOG_REDIRECT_URI=http://localhost:8000/login/backlog/callback
BACKLOG_SPACE_URI=https://your-space-id.backlog.jp/
```
## install using composer
```json
"repositories": [
{
"type":"vcs",
"url": "https://github.com/takuya/SocialiteBacklogProvider.git"
}
],
"require": {
"socialiteproviders/backlog": "dev-master"
},
```
## use ing laravel event
Add reference to app/Providers/EventServiceProvider.php
```php
protected $listen = [
'App\Events\Event' => [
'App\Listeners\EventListener',
],
// add for oauth
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// add your listeners (aka providers) here
'SocialiteProviders\\Backlog\\BacklogExtendSocialite@handle',
],
```