title: Is there a way to generate a login token for a Magento admin_user?
body: <p>We have merchants logged in to a system, from which we want to link them to our Magento instance with some kind of admin token that will log them in directly without them having to manually login.</p>
  
  <p>I see the <code>rp_token</code> field in the <code>admin_user</code> table but that appears to be related to a password reset, which probably isn't what we want.</p>
  
  <p>Have done a bit of searching, found <a href="https://stackoverflow.com/questions/5745464/linking-to-magento-admin-from-outside-admin-panel">this thread</a> which is related but is dealing with secret keys specifically (which will probably be my second challenge to resolve after resolving this one).</p>
  
  <p>I'm guessing this isn't supported in core, but maybe there's a good extension out there to do it?</p>
  
  <p>Or if not, what would be the best approach to implement?  I'm guessing there is probably an event I could hook to look at a GET or POST param (which maybe could be a hash of the username and hashed password), then bypass the normal login() method which relies on username and plain text password.</p>
  
  <p>That feels like it could be a little risky though?  Any thoughts?</p>