# כיצד ניתן ליצור \_forum\_session ו-\_t עבור משתמש באמצעות קוד/קריאת API או ללא כניסה לדפדפן?

**URL:** <https://meta.discourse.org/t/how-can-generate-forum-session-and-t-for-an-user-through-code-api-call-or-without-login-to-browser/233895>\
**Category:** Feature\
**Tags:** sso\
**Created:** [25 ביולי,‏ 2022,‏ 3:12pm UTC](https://meta.discourse.org/t/how-can-generate-forum-session-and-t-for-an-user-through-code-api-call-or-without-login-to-browser/233895 "2022-07-25T15:12:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Swarndeep\_Poddar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swarndeep_poddar/32/231276_2.png) [@Swarndeep\_Poddar](https://meta.discourse.org/u/Swarndeep_Poddar)\
**Post date:** [25 ביולי,‏ 2022,‏ 3:12pm UTC](https://meta.discourse.org/t/how-can-generate-forum-session-and-t-for-an-user-through-code-api-call-or-without-login-to-browser/233895/1 "2022-07-25T15:12:35Z")

</div>

I have written a code for generation cookies ( \_forum\_session and \_t) through selenium and pyhton. But in this case also we must fill **manually** phone number, OPT to validate. I want to make generate cookies fully automatically through code , don’t want to fill **manually** anything. How can achieve this?

---

_[View the full topic](https://meta.discourse.org/t/how-can-generate-forum-session-and-t-for-an-user-through-code-api-call-or-without-login-to-browser/233895)._
