Local server does not take into account the data from the authorization token (AMAZON_COGNITO_USER_POOLS auth mode)
max-konin opened this issue · comments
Max Konin commented
Hi
I see that some data such as username & sub is hardcoded. And claims is an empty object. And there is no way to influence it.
I think it would be logical to take this data from a real Cognito token. I sketched a simple solution here max-konin@739e27b
What do you think?
Sylvain commented
@max-konin I think that's a great idea! Feel free to open a PR and I will include your contribution to the next release.
Sylvain commented
Will be released as part of 1.0.0-rc.7