Implemented a protected API call for services based on IDP