Skip to content

Commit

Permalink
added config.js; udpated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gologo13 committed Feb 17, 2013
1 parent 94747c9 commit 8849e62
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Node.js
node_modules
npm-debug.log
config.js
config.js.mine
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ You can integrate into below applications or frameworks.

$ npm install passport-rakuten

## Preparation

edit config.js to setup your application.

$ vim config.js
/**
* Config
*/
module.exports = {
client_id: "your_client_id",
client_secret: "your_client_secret",
redirect_uri: "your_redirect_uri"
}

## Usage

### Configuration Strategy
Expand Down
8 changes: 8 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Config
*/
module.exports = {
client_id: "your_client_id",
client_secret: "your_client_secret",
redirect_uri: "your_redirect_uri"
}
1 change: 1 addition & 0 deletions examples/login/config.js

0 comments on commit 8849e62

Please sign in to comment.