[dev] Sharing nc authentication with custom web application


I would like to develop an application (NodeJS, vueJS, postgreSQL) that uses the nextcloud user accounts. The idea is that the user authenticates with his nextcloud ID, and can then access both nextcloud and my website.
Note that my application is not a nc module or nc application. It’s a full web site, but based on nextcloud to identify the user

I did some research on the web, but I did not find a simple explanation of how to do it … is it possible?