# Log in a user via the API

**URL:** https://meta.discourse.org/t/log-in-a-user-via-the-api/42862
**Category:** SSO
**Created:** [April 20, 2016, 8:02am UTC](https://meta.discourse.org/t/log-in-a-user-via-the-api/42862 "2016-04-20T08:02:42Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![parisa](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@parisa](https://meta.discourse.org/u/parisa)
#### Post date: [March 16, 2018, 6:18pm UTC](https://meta.discourse.org/t/log-in-a-user-via-the-api/42862/10 "2018-03-16T18:18:51Z")

</div>

I have already suggested something similar.

> [@Passwordless signin via link generated by api](https://meta.discourse.org/t/passwordless-signin-via-link-generated-by-api/79617):
>
> Is it possible? I didn’t see this feature in api. I saw that [passwordless signin via email link](https://meta.discourse.org/t/passwordless-signin-via-email-link/57569) is already planned. Maybe this feature would also be possible? Use-case: users of my android application are signing in with discourse login api. Now in the application, I show some topics to the users which might be of their interest and want to post somthing. When they click on the topic name, I want to open a webpage with that topic being opened and they would be already logged in. They have alre…

---

_[View the full topic](https://meta.discourse.org/t/log-in-a-user-via-the-api/42862)._
