Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying home server in URL #5112

Closed
jooize opened this issue Sep 23, 2017 · 3 comments
Closed

Allow specifying home server in URL #5112

jooize opened this issue Sep 23, 2017 · 3 comments

Comments

@jooize
Copy link

jooize commented Sep 23, 2017

Scenario

Group wants to run home server for Matrix IDs with their domain, but rather trust the officially hosted Riot client. They want to redirect chat.group.com to https://riot.im/app/#/login and have matrix.group.com already entered into home server so nobody has to write it manually.

Solution

https://riot.im/app/#/login?home_server=matrix.group.com

chat.group.comhttps://riot.im/app/#/login?home_server=matrix.group.com

Would you agree to assume HTTPS and port 8448? Otherwise, how should it be done?

@uhoreg
Copy link
Member

uhoreg commented Sep 24, 2017

This should already be possible using the hs_url parameter (matrix-org/matrix-react-sdk#716). (e.g. https://riot.im/app/#/login?hs_url=..., where the parameter value is whatever you would put in the custom homeserver field)

@melroy89
Copy link

Looks like this hs_url parameter isn't working at all.. Please, tell me what I'm doing wrong:

https://app.element.io/?default_hs_url=https://matrix.melroy.org#/login

@element-hq element-hq locked as resolved and limited conversation to collaborators Jan 11, 2021
@uhoreg
Copy link
Member

uhoreg commented Jan 11, 2021

@Danger89 the parameter broke during the redesign a couple of years ago. The issue to follow is #5469

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants