This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Description
When both clients and services are registered with relationships set up in between, users are not allowed to update scope on the client anymore as the scope will be derived from services/endpoints. Currently, the client microservice throws an exception but still returns old scope and new scope in the response. In fact, the database wasn't updated and the old scope is still in both database and cache. We need capture the SQLException and return users a meaningful error code and message.