SocialiteProviders / Slack

Licence: other
[READ ONLY] Subtree split of the SocialiteProviders/Slack Provider (see SocialiteProviders/Providers)

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Slack

Twitch
[READ ONLY] Subtree split of the SocialiteProviders/Twitch Provider (see SocialiteProviders/Providers)
Stars: ✭ 20 (+81.82%)
Mutual labels:  oauth, oauth2, social-media, socialite, oauth1, socialite-providers
VKontakte
[READ ONLY] Subtree split of the SocialiteProviders/VKontakte Provider (see SocialiteProviders/Providers)
Stars: ✭ 82 (+645.45%)
Mutual labels:  oauth, oauth2, social-media, socialite, oauth1, socialite-providers
Spotify
[READ ONLY] Subtree split of the SocialiteProviders/Spotify Provider (see SocialiteProviders/Providers)
Stars: ✭ 13 (+18.18%)
Mutual labels:  oauth, oauth2, social-media, socialite, oauth1, socialite-providers
Instagram
[READ ONLY] Subtree split of the SocialiteProviders/Instagram Provider (see SocialiteProviders/Providers)
Stars: ✭ 34 (+209.09%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Twitter
[READ ONLY] Subtree split of the SocialiteProviders/Twitter Provider (see SocialiteProviders/Providers)
Stars: ✭ 21 (+90.91%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
Weibo
[READ ONLY] Subtree split of the SocialiteProviders/Weibo Provider (see SocialiteProviders/Providers)
Stars: ✭ 37 (+236.36%)
Mutual labels:  oauth, social-media, socialite, oauth1, socialite-providers
electron-oauth-helper
Easy to use helper library for OAuth1 and OAuth2.
Stars: ✭ 55 (+400%)
Mutual labels:  oauth, oauth2, oauth1
Oauthlib
A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Stars: ✭ 2,323 (+21018.18%)
Mutual labels:  oauth, oauth2, oauth1
Qq
[READ ONLY] Subtree split of the SocialiteProviders/QQ Provider (see SocialiteProviders/Providers)
Stars: ✭ 50 (+354.55%)
Mutual labels:  oauth, oauth2, social-media
Oauthswift
Swift based OAuth library for iOS
Stars: ✭ 2,949 (+26709.09%)
Mutual labels:  oauth, oauth2, oauth1
Weixin
[READ ONLY] Subtree split of the SocialiteProviders/Weixin Provider (see SocialiteProviders/Providers)
Stars: ✭ 84 (+663.64%)
Mutual labels:  oauth, oauth2, social-media
Hydra
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Compatible with MITREid.
Stars: ✭ 11,884 (+107936.36%)
Mutual labels:  oauth, oauth2
Assent
Multi-provider framework in Elixir
Stars: ✭ 126 (+1045.45%)
Mutual labels:  oauth, oauth2
erlang-oauth
An Erlang OAuth 1.0 implementation
Stars: ✭ 298 (+2609.09%)
Mutual labels:  oauth, oauth1
Ngx Oauth
OAuth 2.0 proxy for nginx written in Lua.
Stars: ✭ 146 (+1227.27%)
Mutual labels:  oauth, oauth2
Fosite
Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
Stars: ✭ 1,738 (+15700%)
Mutual labels:  oauth, oauth2
Fresh
🍋 A token refresh library for Dart.
Stars: ✭ 128 (+1063.64%)
Mutual labels:  oauth, oauth2
Portfolio Generator
HoxNox - Portfolios Made Easy, Generate portfolios in 3 easy steps
Stars: ✭ 166 (+1409.09%)
Mutual labels:  oauth, oauth2
Express Starter
It's a hackathon-starter fork, but designed to use PostgreSQL by default (or MySQL)
Stars: ✭ 215 (+1854.55%)
Mutual labels:  oauth, oauth2
Vertx Auth
Stars: ✭ 122 (+1009.09%)
Mutual labels:  oauth, oauth2

Slack

composer require socialiteproviders/slack

Installation & Basic Usage

Please see the Base Installation Guide, then follow the provider specific instructions below.

Add configuration to config/services.php

'slack' => [    
  'client_id' => env('SLACK_CLIENT_ID'),  
  'client_secret' => env('SLACK_CLIENT_SECRET'),  
  'redirect' => env('SLACK_REDIRECT_URI') 
],

Add provider event listener

Configure the package's listener to listen for SocialiteWasCalled events.

Add the event to your listen[] array in app/Providers/EventServiceProvider. See the Base Installation Guide for detailed instructions.

protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\Slack\SlackExtendSocialite::class.'@handle',
    ],
];

Usage

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

return Socialite::driver('slack')->redirect();

Returned User fields

  • id
  • name
  • email
  • avatar
  • organization_id
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].