# Login to discourse website automatically

**URL:** <https://meta.discourse.org/t/login-to-discourse-website-automatically/125086>\
**Category:** Marketplace\
**Created:** [August 7, 2019, 4:52am UTC](https://meta.discourse.org/t/login-to-discourse-website-automatically/125086 "2019-08-07T04:52:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![hosna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hosna/32/99969_2.png) [@hosna](https://meta.discourse.org/u/hosna)\
**Post date:** [August 20, 2019, 8:47am UTC](https://meta.discourse.org/t/login-to-discourse-website-automatically/125086/6 "2019-08-20T08:47:10Z")

</div>

> [@angus](#):
>
> So basically you want a plugin that adds an endpoint to create and return an email\_token for a user and you’ll call it on a regular basis when the tokens expire?

That will do the job for me.

And also since I want to send user to a specific topic, if the topic id or link would be added and after login, user would be redirected to that, It would make it perfect.

---

_[View the full topic](https://meta.discourse.org/t/login-to-discourse-website-automatically/125086)._
