The module currently supports user profile verification function for OAuth
strategies, but has sensible defaults in case other mechanisms are used (this
can also be extended with your custom logic).

To login using this strategy, browse to http://localhost:3000/auth/oauth1/login
(or /auth/KEY/login, where KEY is your authentication strategy). Multiple
authentication strategies are supported in the passport object inside
collagen.json

This module also supports URL redirection after login/logout. To enable, add the
following to your collagen.json file:

"passport": {

"oauth1": {

...

"loginRedirect": "/user",

"logoutRedirect": "home"

}

}

The parameters are passed directly to res.redirect(...).
They take the following arguments:

"home": Website root (similar to "/"). Default for logoutRedirect.

"back": Referer. Redirects back to where the user was. Default for loginRedirect.

"/my/absolute/path": Any absolute URL path on the website.

"http://external.example.com": An external website.

Note: When authorizing an application for the first time, loginRedirect will
not work with the back option. In this case, it will default to home.