כיצד אוכל לבדוק באתר האינטרנט שלי אם המשתמש מחובר ל-Discourse שלי?

i think you may need to get the user ID from the SSO payload and then use a Discourse API request get the username and current login status.