# איך אני יכול לגרום למשתמשים להתחבר אוטומטית כשצופים בפורום?

**URL:** https://meta.discourse.org/t/how-can-i-auto-signin-users-when-view-the-forum/290136
**Category:** SSO
**Created:** [31 בדצמבר,‏ 2023,‏ 6:10pm UTC](https://meta.discourse.org/t/how-can-i-auto-signin-users-when-view-the-forum/290136 "2023-12-31T18:10:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Samir\_Sabri](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samir_sabri/32/287380_2.png) [@Samir\_Sabri](https://meta.discourse.org/u/Samir_Sabri)
#### Post date: [31 בדצמבר,‏ 2023,‏ 6:10pm UTC](https://meta.discourse.org/t/how-can-i-auto-signin-users-when-view-the-forum/290136/1 "2023-12-31T18:10:54Z")

</div>

Hello

I have enabled SSO feature with my rails app and discourse, all is well. But I want to auto signin users when they click on forum link on my rails website incase they were already signed in.

Current behavior for signed in users, is that they still need to click on sign-in button at discourse before they get signed in.

Your support is highly appreciated.

---

<div class="post-metadata">

### Author: ![not-ethan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/not-ethan/32/282617_2.png) [@not-ethan](https://meta.discourse.org/u/not-ethan)
#### Post date: [31 בדצמבר,‏ 2023,‏ 6:42pm UTC](https://meta.discourse.org/t/how-can-i-auto-signin-users-when-view-the-forum/290136/2 "2023-12-31T18:42:48Z")

</div>

You can make all links on the mainsite point to `/login` so they automatically go through the SSO route and than get directed to the home page. Dont know if its possible to do anything else though.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [30 בינואר,‏ 2024,‏ 6:43pm UTC](https://meta.discourse.org/t/how-can-i-auto-signin-users-when-view-the-forum/290136/3 "2024-01-30T18:43:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
