Chris Edwards
Chris Edwards
Hi there, I see someone put eyeballs on this. Has anyone had a chance to look at this?
Hi @mesaugat , I just confirmed again then we I run the above code, the test passes, when it should be failing. The version of mongodb you have is important,...
The newer version is the one with the issue.
I did check, and using cloneDeep in lodash appears to preserve the internals of ObjectId, so if you're looking at a replacement that might be an option.
Interesting... When I have some more time I'll put together a repo to demonstrate the problem.
A related issue (see the closed issue above, I was referred here), if I remove a user from a user group, the JWT they have is still valid and showing...
Digging into this more, I think this may actually be a bug in AppSync rather than Amplify. The way Amplify is performing these dynamic group authorizations is it generates AppSync...
@jordanranz If this is the case, would this need to be submitted directly to the AppSync team?
In order for this to be effective server-side authentication, forcing a refresh in the client isn't a workable solution, as this would be a fairly big security hole.
Is there an ETA on this? This feels like critical functionality to be able to inject secrets into the lambdas rather than put them in source code.