Modx rest api security

Hi, I’ve been reading this documentation https://docs.modx.com/current/en/extending-modx/developing-restful-api and think I had a general idea on how to implement my service, but I haven’t seen anything related to security, are these new services covered by MODx authentication, if that’s the case how do I get to generate tokens for clients.

I need to expose a simple service that returns the daily data of a table, but this queries must be protected, does MODx provide some sort of oAuth/token, or do I have to implement it myself?

1 Like

I think there’s a few packages for this you may be able to use. Try modJWT
https://modx.com/extras/package/modjwt

1 Like