Looking to hire Laravel developers? Try LaraJobs

bigcommerce-oauth-laravel maintained by redchamps

Description
BigCommerce App authentication made easy.
Last update
2024/04/27 09:12 (dev-main)
License
Links
Downloads
202

Comments
comments powered by Disqus

Steps

Installation

  • composer require redchamps/bigcommerce-oauth-laravel
  • php artisan vendor:publish --tag=bigcommerce-auth-migrations
  • php artisan migrate

Update to .env

  • BC_CLIENT_ID=BigCommerce-App-Client-ID
  • BC_SECRET=BigCommerce-App-Secret-ID
  • BC_REDIRECT_PATH=/

Update to routes/web.php

use CronixWeb\BigCommerceAuth\BigAuthRoutes;

BigAuthRoutes::register();

Callbacks

  • domain.com/auth/install
  • domain.com/auth/load

config/session.php

  • Add true in SESSION_SECURE_COOKIE default value
  • Change same_site => lax to none

Optional view file publish

  • php artisan vendor:publish --tag=bigcommerce-auth-views