# Matrix chat first login: 504 timeout

**URL:** https://forum.opendesktop.org/t/matrix-chat-first-login-504-timeout/19835
**Category:** Element/Matrix Chat
**Created:** [June 19, 2021, 12:01pm UTC](https://forum.opendesktop.org/t/matrix-chat-first-login-504-timeout/19835 "2021-06-19T12:01:32Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![buntewolke](https://forum.opendesktop.org/user_avatar/forum.opendesktop.org/buntewolke/32/57498_2.png) [@buntewolke](https://forum.opendesktop.org/u/buntewolke)
#### Post date: [July 3, 2021, 3:15pm UTC](https://forum.opendesktop.org/t/matrix-chat-first-login-504-timeout/19835/11 "2021-07-03T15:15:56Z")

</div>

@justinz  
Is this solution, solution approach also sustainable? I see that there were problems with login in Matrix already in 2019 - s. [1] [Can't login to Matrix chat (solved)](https://forum.opendesktop.org/t/cant-login-to-matrix-chat-solved/17407). I am in Fediverse as a user since 2016 - see Hubzilla [2]. Hubzilla is implemented as a decentralized network. An excerpt from the Hubzilla help:  
[_start of quote_=“[Hilfe: About (realtime.fyi)](https://realtime.fyi/help/de/about/about#Right_so_what_is_Hubzilla_)”]  
**Single Sign-on**

Access Control Lists work for all channels in the grid due to our unique single sign-on technology. Most internal links provide an **identity token which can be verified on other Hubzilla sites** and used to control access to private resources. You login once to your home hub. After that, authentication to all Hubzilla resources is “magic”  
_[/end of quote]_

As a Hubzilla beginner “Single Sign-on made in Hubzilla” [3] this feels unusual to get used to, but it’s actually like this - I register an account (strictly speaking an **identity** _login-X@hub-Y.tld_ on ONE Hubzilla node(Hub Y)) and with the identity _login-X@hub-Y.tld_ I can sign-on myself on all participating Hubs - _ **without registration** _. Provided another hub _Z_ allows me to log in. Which permissions I have after logging in on hub _Z_ is determined by the provider of hub _Z_.

This “single sign-on made in Hubzilla” is one of the special features of Hubzilla and works flawlessly all the time. That’s why I describe this in such detail as a suggestion. Maybe it is worth to consider in the medium or longer term to apply the solution based on the magic “Single Sign-on made in Hubzilla” functionality also for the “Single Sign-on @ opendesktop.org-services”?

“Single Sign-on made in Hubzilla” is a mature, low-maintenance solution that has been in use for years and does not cause any additional effort for hub admins. Not unimportant - “Single sign-on made in Hubzilla” also feels very pleasant for a user, provides positive user experience.

[1] Can’t login to Matrix chat, 08.04.2019 - [Can't login to Matrix chat (solved)](https://forum.opendesktop.org/t/cant-login-to-matrix-chat-solved/17407)  
[2] Hubzilla - [https://hubzilla.org](https://hubzilla.org)  
[3] Single Sign-on in Hubzilla-Grid -[https://realtime.fyi/help/de/about/about#Glossary](https://realtime.fyi/help/de/about/about#Glossary)

---

_[View the full topic](https://forum.opendesktop.org/t/matrix-chat-first-login-504-timeout/19835)._
