Closed max-konin closed 1 year ago
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 https://github.com/max-konin/prisma-appsync/commit/739e27b80277d3238ee912f18c54971ea5ebaaee
What do you think?
@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.
Will be released as part of 1.0.0-rc.7
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 https://github.com/max-konin/prisma-appsync/commit/739e27b80277d3238ee912f18c54971ea5ebaaee
What do you think?