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: aws-python-auth0-custom-authorizers-api/README.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -42,22 +42,25 @@ Custom Authorizers allow you to run an AWS Lambda Function before your targeted
42
42
43
43
7. You can either run your frontend locally or deploy your frontend to host of your choosing. However in either case, make sure to configure the `Allowed Callback URL` and `Allowed Origins` in your auth0 client in the [auth0 dashboard](https://manage.auth0.com). An example of how to run your frontend locally:
44
44
45
-
```cd frontend;
46
-
python -m http.server```
45
+
```
46
+
cd frontend;
47
+
python -m http.server
48
+
```
47
49
48
50
49
51
## Custom authorizer functions
50
52
51
53
[Custom authorizers functions](https://aws.amazon.com/blogs/compute/introducing-custom-authorizers-in-amazon-api-gateway/) are executed before a Lambda function is executed and return an Error or a Policy document.
52
54
53
-
The Custom authorizer function is passed an `event` object as below:
55
+
The Custom authorizer function is passing an `event` object to API Gateway as below:
0 commit comments