Hi, I need to build a Custom API method, but with JWT authentication (by default all custom apis are without authantication). I need to do this exactly like standard api methods. Is there an easy way to do this?
Custom API method with JWT authentication
-
- User
- Posts: 1113
Try the Api_Action server event with the following statement.
[Authorize(Policy = "ApiUserLevel")]