Hello, Im having a hard time trying to get to the right solution.
I have an angular front end app in a server and a express js api in another server which is consumed by the user from the front end app so I tried going for regular web app to implement auth0, the thing is that this API is also consumed by daemons and other scripts so I dont know how can I have the front form authentication but at the same time authenticate the daemons so they can make calls to the api.
My initial thought was to create two apps one m2m and a regular web app, but in my express js server I need to protect for example the route app.get(‘/products’) in a way that when a user calls it it uses the regular web application and the auth0 front forms to authenticate but when a daemon or a script calls it then it can also authenticatw without the front end form