Cognito and Non Nested Claims

As it currently stands AWS Cognito doesn’t support nested claims in JWTs. The ability to refer to non nested values for authorization would be helpful. My apologies if this is already available and I have just overlooked it.

Edit: Alternatively if values could be parsed from a stringified map that would work.

We do support parsing custom claims as a string.
Issue: https://github.com/dgraph-io/dgraph/pull/5513
Fix: https://github.com/dgraph-io/dgraph/pull/5668
Let me know if this works for you.

1 Like