Add logic to oauth setting on client side.
Prepare service to add.