Is it possible to configure Auth0 to handle both SPA and M2M in a single app?
This is my scenario:
I have a Feathers.js Server which receives heartbeats from several devices. They should login as M2M obviously since they usually restart from power outages
There’s another Vue.js webpage which retrieves the data from the Feathers.js server. This is where the client logs in, then retrieves the information abouth the heartbeats.
I don’t really understand how I should configure my feathers.js server. Should this be two different applications? The devices log in throw M2M and the users log in through an SPA? configure 2 different authentication methods inside feathersjs?
Sorry if I’m not clear enough, but the idea is to get M2M and SPA log in to the same Feathers.js API.