You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-2
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,21 @@ Features
15
15
With this SDK, your OAuth flow is also more secure as the oauth token never
16
16
leaves your backend.
17
17
18
+
Requirement
19
+
-----------
20
+
21
+
[Express-session](https://github.com/expressjs/session) is required:
22
+
23
+
```js
24
+
var session =require('express-session');
25
+
...
26
+
app.use(session({
27
+
secret:'some secret',
28
+
resave:false,
29
+
saveUninitialized:true
30
+
}));
31
+
```
32
+
18
33
Installation
19
34
------------
20
35
@@ -32,7 +47,7 @@ var OAuth = require('oauthio');
32
47
33
48
To use this SDK, you need to create an account (if you don't have one yet) on [oauth.io](https://oauth.io), create an app in the [Dashboard](https://oauth.io/dashboard) and add a provider to that app.
34
49
35
-
You'll have to go on the provider's website to register a new app, and copy its keys on oauth.io.**Don't forget to select the Node.js backend on OAuth.io.**
50
+
You'll have to go on the provider's website to register a new app, and copy its keys on oauth.io.
0 commit comments