Skip to content

Commit 48c1c7d

Browse files
authored
Merge pull request #410 from flmu/update-example-aws-node-auth0-custom-authorizers-api
Fix typo + new NodeJS version
2 parents 6199499 + bf47f4f commit 48c1c7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aws-node-auth0-custom-authorizers-api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Custom Authorizers allow you to run an AWS Lambda Function before your targeted
3232

3333
4. Get your `public key` (under `applications->${YOUR_APP_NAME}->settings->Show Advanced Settings->Certificates->DOWNLOAD CERTIFICATE`). Download it as `PEM` format and save it as a new file called `public_key`
3434

35-
5. Deploy the service with `serverless-deploy` and grab the public and private endpoints.
35+
5. Deploy the service with `serverless deploy` and grab the public and private endpoints.
3636

3737
6. Plugin your `AUTH0_CLIENT_ID`, `AUTH0_DOMAIN`, and the `PUBLIC_ENDPOINT` + `PRIVATE_ENDPOINT` from aws in top of the `frontend/app.js` file.
3838

aws-node-auth0-custom-authorizers-api/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins:
66

77
provider:
88
name: aws
9-
runtime: nodejs6.10
9+
runtime: nodejs8.10
1010
region: us-west-2
1111
environment:
1212
AUTH0_CLIENT_ID: ${file(./secrets.json):AUTH0_CLIENT_ID}

0 commit comments

Comments
 (0)