title: best way to get user data using single-sign-on
body: <p>I have the following problem and I can not find a better solution.
  I have an SSO server and a REST client application.</p>
  
  <ol>
  <li>1 - The client logs in to the SSO that returns a token and the id of
  the user "user_id"</li>
  <li>2 - The application saves this data (token, user_id) in a table
  (user_table) of the database.</li>
  <li>3 - The client application needs to list all users and their
  information (name, age, address, etc.) but this information is in
  SSO.</li>
  </ol>
  
  <p>What is the best way to get this user information?</p>
  
  <p>I thought about making each user a SSO request by passing the token and user_id, or when the client logs in, that user information is saved in the user_table table.</p>
  
  <p>But if the user updates some information using another client application? How can I upgrade on all client applications?</p>