Skip to content
This repository has been archived by the owner on Sep 30, 2019. It is now read-only.

Appsync emulator - setting defaultAction: DENY has no effect #110

Open
mattgibson opened this issue Apr 8, 2019 · 1 comment
Open

Appsync emulator - setting defaultAction: DENY has no effect #110

mattgibson opened this issue Apr 8, 2019 · 1 comment

Comments

@mattgibson
Copy link
Contributor

I want to build an API which is not public and which requires a cognito user pool token for access. I have set defaultAction: DENY in serverless.yml, but there is nothing blocking access when I make a request, provided the JWT I supply in the auth header is actually a JWT. It doesn't fail if the JWT has got nothing to do with the user pool I specified, whereas the actual deployed API refuses access.

@cbaron
Copy link
Contributor

cbaron commented Apr 8, 2019

@mattgibson -- thanks for flagging this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants