/demj_sitegenesis_LineAuth

A cartridge for LINE OAuth using LINE Login for sites on Salesforce Commerce Cloud.

Primary LanguageJavaScript

demj_sitegenesis_LineAuth

Prerequisites

  • This cartridge depends on sites cretaed based on Community SiteGenesis.
  • This cartridge is provided strictly for your reference and has no support on any kind of questions or requestes.

How to install

  1. Clone this repository.
git clone https://github.com/hrk623/demj_sitegenesis_LineAuth.git
  1. Import demj_sitegenesis_LineAuth project into UX Studio and upload the cartrige to your sanbox.
  2. Add demj_sitegenesis_LineAuth to your cartridge path for the site.
  3. Go to LINE Developer Console and create LINE Login Service with Web Login enabled.
  • make sure you set the callbacl URL to https://[host]/on/demandware.store/[site id]/[locale]/LoginLINE-OAuthReentry
  1. Go to Business Manager > Administration > Global Preferences > OAuth2 Providers and create new provider as follows.