title: .NET Core Identity - How generate token from another place than path/connect/token
body: <p>in my web api application I get the acess token from http:applicationpath/connect/token with some parameters (this endpoint is from Identity I think, since we dont create it neither can see it).
  But now I need to generate the token from a specific controller but cant see how to do this.
  Someone knows how this can be made? Or even if it's possible?
  Thanks</p>
  
  <p><strong>Some more info:</strong></p>
  
  <p>My application is an integrator (is this the word?) between an android app(app1) and other web application(app2).<br>
  1- The app1 user will send the login and password to my application .<br>
  2- Then my application will send then to the app2 who will, if everything goes well, return the app2 token .<br>
  3- Then I have to save this token in my db.<br>
  4- Then verify if the user exists in my db, and if not, save it.<br>
  5- And finally generate an token for my application and return it to the user.</p>