By setting the default_is_url to an empty string/null or something.
Interesting. What consequences would this have?
Threepid invites wouldn't work; what else?
Also, just so I'm not guessing, what's the reason behind this?
Someone wanted it for privacy concerns (I really should have linked the message). They were concerned that their users would accidentally use the identity server in a privacy-centric group.
The other thing (that I know of) to disable would be adding/editing 3pids.
Is there any movement here? I'd like to add that using the .well-known/matrix/client stuff for it would be _very_ convenient.
For example by "m.identity_server": {
"base_url": ""
}
As a work around I've notice that having an 'identity server' that just replies an application/json {} in https://example.com/_matrix/identity/api/v1 works to keep riot happy and don't use an identity server.
But will be really nice to get an official way to disable the identity server.
Would also be nice to have this when the identity server you wanted to use is down :)
Doesn't https://github.com/matrix-org/matrix-react-sdk/pull/3088 fix 90% of this? All you need to do now is make it also work with a completely blank field instead of only working if you enter a URL that isn't an identity server.
Updated the issue title to distinguish it from https://github.com/vector-im/riot-web/issues/10425
Annoyingly we overlooked this in MSC2078 and the id_server param is still require in all situations, so spec-wise we'd be unable to register with an email at all if no IS were specified, even if the HS sends its own emails.
@turt2live points out that (again, spec-wise) a solution to this could be to abuse params from UIA to have a flag for requires_identity_server: true/false. Default true.
Why is this closed?
Because it got implemented by #3285?
Most helpful comment
As a work around I've notice that having an 'identity server' that just replies an application/json
{}in https://example.com/_matrix/identity/api/v1 works to keep riot happy and don't use an identity server.But will be really nice to get an official way to disable the identity server.