We have internal microservices that are using M2M Authentication to authorize the requests between each other:
- service that does the request, asks for a token like in here https://auth0.com/blog/using-m2m-authorization/
- service that receives the request, validates it like in here https://auth0.com/docs/tokens/guides/validate-access-tokens
However I don’t really like reading help docs (and then having to follow them if anything has changed in them) and copy pasting code for auth validation whenever I create a new service.
Is there some small JS library that does all of the above with auth0 (and extracts framework agnostic [not based on express])? If not, do you (auth0) plan to create one? Maybe someone else has created it already (for their own purposes, but then open sourced it)?