Permalink
Browse files

added config.js; udpated README.md

  • Loading branch information...
1 parent 94747c9 commit 8849e6268aacd4419bd06441b61fe2ce2a261989 @gologo13 committed Feb 17, 2013
Showing with 24 additions and 1 deletion.
  1. +1 −1 .gitignore
  2. +14 −0 README.md
  3. +8 −0 config.js
  4. +1 −0 examples/login/config.js
View
@@ -4,4 +4,4 @@
# Node.js
node_modules
npm-debug.log
-config.js
+config.js.mine
View
@@ -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
View
@@ -0,0 +1,8 @@
+/**
+ * Config
+ */
+module.exports = {
+ client_id: "your_client_id",
+ client_secret: "your_client_secret",
+ redirect_uri: "your_redirect_uri"
+}
View

0 comments on commit 8849e62

Please sign in to comment.