I am working on a small web app. It automates one accounting process.
I drafted a business requirements and a SOA structure, but due to my limitation, I can't go further, especially the authorization part.
One thing confuses me is should I use RESTful API to do authorization(not authentication)? or Should I do authorization(user-> role-> allowed actions) at back-end, without exposing this authorization service?
What's the best practice here for SOA + RESTful API to deal with authorization?
Sincerely, Nicolas