strongloop/loopback-component-passport — pull request #28 by jpizarrom (2014-10-26 18:28:50+00:00)
Title: use custom callbackPathHttpMethod

When I logged in from a mobile app, In some cases It's necesary to use POST with the callbackPath

provider conf example
"facebook-login-token": {
"provider": "facebook",
"module": "passport-facebook-token",
"clientID": appConfig.facebookClientID,
"clientSecret": appConfig.facebookClientSecret,
"callbackPath": "/auth/facebook/callback-token",
"scope": ["email"],
"json": true,
"callbackPathHttpMethod":"POST"
},