title: Requesting Token from ADFS with AD Group Membership Info
body: <p>I have a rest client application and I want to be able to get an access token from ADFS <strong>/token endpoint</strong> for that client. The client will be used by existing AD Users, and I want to get the Group Membership of the AD User in the access token. </p>
  
  <p>How can I send my AD User Credentials to ADFS and get the AD Group Membership Info of that AD User in the access token as claims?</p>
  
  <p>I know the solution for the case of "<strong>/authorize endpoint and entering the credentials in the login popup</strong>". What I am asking is how to do that with a client app where the credentials should be somehow encoded and sent to adfs <strong>/token endpoint</strong>.</p>