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

Support following the .well-known entries for the username's domain #158

Closed
ulyssa opened this issue Sep 13, 2023 · 0 comments · Fixed by #209
Closed

Support following the .well-known entries for the username's domain #158

ulyssa opened this issue Sep 13, 2023 · 0 comments · Fixed by #209
Assignees
Milestone

Comments

@ulyssa
Copy link
Owner

ulyssa commented Sep 13, 2023

This has come up several times in #iamb-users. Some homeservers are placed under a different domain or subdomain than what's in the username, and have .well-known entries set up. Since iamb requires passing in a homeserver URL, some users have mistakenly put in the wrong value, which usually results in HTTP errors from POSTing to the login path.

I'd like to make the homeserver URL config optional, and check for the .well-known entry when it's not provided, fall back to building the URL from the domain, and then erroring out with a message asking the user to provide a value.

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

Successfully merging a pull request may close this issue.

1 participant