Open ZeroEcks opened 6 years ago
You are missing out an use case where a user can be without groups. Add a null check and return empty collection at https://github.com/IxorTalk/ixortalk.aws.cognito.jwt.security.filter/blob/master/src/main/java/com/ixortalk/aws/cognito/boot/filter/AwsCognitoIdTokenProcessor.java#L109
covered by PR #19
If you set this up with a new user pool and try to use it with no groups, a null pointer exception occurs.
This is fixed by creating a group.
Would be nice if it was a little more clear whats wrong with this?