For an application I'm developing, it requires a lot of real-time processing so we've decided to go with Nodejs and using Express to build the application over something like Laravel.
The issue that I'm having is Authenticating the user. Since, we have an OAuth server (Built on Lumen) to authenticate users and provide an API for the mobile application. This application will be reading / writing data on its own and will not really be using the API.
Is it therefore possible to authenticate the user through our OAuth (Store the returned keys)? I'm looking for something similar to loginusingid
in Laravel
passportjs
however does this support authenticating using your own API? – Phorce Feb 15 at 8:41serializeUser
,deserializeUser
and the strategy are used to configure passport – R. Gulbrandsen Feb 15 at 8:45