managing security between node js and spring backend

Hello everyone,

I'm trying to start a new project which will combine node.js and a spring backend. is there anyhow to integrate spring security with node js ? I've been searching for a week and i still got nothing. I read somewhere that i have to combine Oauth2 with spring security and a security framework from node.js world like passprot.js but is Oauth2 secure enough to maintain the security of the whole application ?!

Please help !