Skip to content

Commit 1a01867

Browse files
authored
Merge pull request #217 from ibm-cloud-security/development
development->master 2021-07-23
2 parents 8c8cbd1 + 5b18831 commit 1a01867

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Read the [official documentation](https://console.ng.bluemix.net/docs/services/a
3434

3535
## Requirements
3636
* npm 6.+
37-
* node 10.+ (node 12.+ recommended)
37+
* node 12.+
3838

3939
## Installation
4040
```
@@ -238,7 +238,7 @@ app.listen(process.env.PORT || 1234);
238238
Using access control, you can check which scopes exist on the request.
239239
```JavaScript
240240
app.get("/protected", passport.authenticate(WebAppStrategy.STRATEGY_NAME), function(req, res){
241-
if(WeAppStrategy.hasScope(req, "read write")){
241+
if(WebAppStrategy.hasScope(req, "read write")){
242242
res.json(req.user);
243243
}
244244
else {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ibmcloud-appid",
3-
"version": "6.1.1",
3+
"version": "6.2.0",
44
"description": "Node.js SDK for the IBM Cloud App ID service",
55
"main": "lib/appid-sdk.js",
66
"scripts": {
@@ -49,4 +49,4 @@
4949
"sinon-chai": "^3.5.0",
5050
"underscore": "^1.10.2"
5151
}
52-
}
52+
}

0 commit comments

Comments
 (0)