EtsyV3 OAuth2 Provider for Laravel Socialite

5.0.1 2022-10-19 22:37 UTC

This package is auto-updated.

Last update: 2023-11-07 22:24:08 UTC


Support for OpenAPI v3 on Etsy.

Note: V2 is scheduled to sunset Q4 2022.

Installation & Basic Usage

composer require socialiteproviders/etsy

Add configuration to config/services.php

'etsy' => [    
  'client_id' => env('ETSY_CLIENT_ID'),  
  'client_secret' => env('ETSY_CLIENT_SECRET'),  
  'redirect' => env('ETSY_REDIRECT_URI') 

Add variables to .env

You can find/update this information from


Add provider event listener app/Providers/EventServiceProvider

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

Usage web/routes.php

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

Note: The email_r is enabled by default so you can access user information in the callback.

// the redirect
return Socialite::driver('etsy')
        ->scopes[['include', 'scopes', 'here']]  

// the callback
$etsyUser = Socialite::driver('etsy')

Returned User fields

  • id
  • nickname
  • name
  • email
  • avatar