1
votes

Lets say I have an Admin API where I want to use Cognito to authenticate the user is in a specific group + from a whitelisted IP, how should I do that?

Am I right to say:

1

1 Answers

2
votes

Yes. For your use case, you need to use a Custom Authorizer which does the following,