Works nicely! Thanks @baris
Can I use AWS Cognito for Authentication to forum
I want to integrate this open source forum on my website and mobile app. But for authentication in the Forum I want to use AWS Cognito, which I already use for Authentication purpose.
Can I do it in NodeBB? Any suggestions would be helpful.
Antosik last edited by Antosik
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)