Best way to implement token based authentication for REST apis implemented in OS

Hi All,

I am looking for the best way to implement token based authentication in a REST API exposed from Outsystems. External consumers should be able to connect the services exposed.



Hi Karthik,

If you want to use tokens, take a look at JSON Web Tokens (JWT). Unfortunately, there's not much to go on in the Forge, just a single component that is basically meant for dealing with external REST services that need JWT, not exposing yourself.

I built a simple JWT implementation for use between our customer portal and our back-end, but it's not really ready for "prime time". If you need some pointers I can give them to you however.