title: Add more values to the bearer token json
body: <p>I want to return the user name after they logged in successfully to display on the upper right corner on my web app. I want to send it with the json that bearer the token returns. To generate the token authentication I'm using ASP.NET web API and Owin middlehawe.</p>
  
  <pre><code>{   
    "access_token": "blah",
    "token_type": "bearer",
    "expires_in": 599
  }
  </code></pre>
  
  <p>I want the return to be like this</p>
  
  <pre><code>{   
    "access_token": "blah",
    "token_type": "bearer",
    "expires_in": 599,
    "displayusername":"Hi Mundo"
  }
  </code></pre>
  
  <p>I have tried claims but those are not giving the result I want.</p>
  
  <p>I have tried to use AuthenticationProperties but doesn't work</p>
  
  <pre><code> public override async Task GrantResourceOwnerCredentials(OAuthGrantResourceOwnerCredentialsContext context)
      {
          context.OwinContext.Response.Headers.Add("Access-Control-Allow-Origin", new[] { "*" });
          if (validation works)
          {
             // add claims
  
              var moreInfo = new AuthenticationProperties(new Dictionary&lt;string, string&gt; { { "username", "Don"}, { "Department","MIS"} });
  
              var ticket = new AuthenticationTicket(identity, moreInfo);
              context.Validated(ticket);
          }
          else
          {
              context.SetError("invalid_grant", "The user name or password is incorrect.");
          }
      }
  </code></pre>
  
  <p>How do I add more values to the json that the owin bearer token returns?.</p>