# כיצד ניתן ליצור \_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:** 6

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [25 ביולי,‏ 2022,‏ 11:00pm 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/6 "2022-07-25T23:00:09Z")

</div>

> [@Swarndeep\_Poddar](#):
>
> must fill phone number and OTP manually

How and why?  
You can fill in the phone number (where is that being asked?) automatically and turn off OTP for that user?

---

_[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)._
