Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Passport Facebook authentication strategy using OAuth 2.0

...

Below is a configuration sample that is needed for the Facebook strategy to be configured. Follow the steps below the sample to get those configurations.Configuration sample Expand source


Code Block
languagejs
titleConfiguration Sample
linenumberstrue
collapsetrue
"facebook": {
    clientID: '%client_ID%',
    clientSecret: '%client_secret%',
    callbackURL: '%client_callback%'
}


Configuration Steps

1 - Create a Facebook application

...