I don't think this is realistic until core switches to typescript.
I think you should write a plugin.
Use https://github.com/julianlam/nodebb-plugin-sso-oauth as a template.
And this - https://www.npmjs.com/package/passport-cognito is a package you can use in your plugin.
You can also take a look at Google SSO - https://github.com/julianlam/nodebb-plugin-sso-google (as an example)
Anyone? Can anyone explain a little how we might accomplish this. I need more information so I can research what was shared as an idea.
@andrei-lopatenco You are correct, there is no Flags API at the moment... there never was one for the Write API plugin, and when it got ported into core, we didn't make one either.
But it sounds like a good idea.