#1 Login errors on own homerver (matrix.reailly.asia) and matrix.org and matrix.beeper.com

Open
opened 2 years ago by jreilly112 · 1 comments

When logging in to matrix.org type"m.login.password"user"@jamesreilly:https://matrix.org"password"password"

GET XHR https://reilly.asia/_matrix/client/r0/login

gets a 404 because it need matrix.reilly.asia

but if I put in matrix.reailly.asia it will put it in the POST and I get a 403 trying to login as @james:matrix.reilly.asia it should be POST @james:reilly.asia and it should accept matrix.reilly.asia as the homeserver URL

When logging in to matrix.org type"m.login.password"user"@jamesreilly:https://matrix.org"password"password" GET XHR https://reilly.asia/_matrix/client/r0/login gets a 404 because it need matrix.reilly.asia but if I put in matrix.reailly.asia it will put it in the POST and I get a 403 trying to login as @james:matrix.reilly.asia it should be POST @james:reilly.asia and it should accept matrix.reilly.asia as the homeserver URL
jreilly112 commented 2 years ago
Poster

Maybe something like this in login.js

if (homeserver.startsWith("https://matrix.")) {

  homebase = homeserver.replace("https://matrix.", '');
}
Maybe something like this in login.js if (homeserver.startsWith("https://matrix.")) { homebase = homeserver.replace("https://matrix.", ''); }
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.