remove login_hint as most of the time it's unrelated to sip username

This commit is contained in:
Jehan Monnier 2025-07-16 13:51:45 +02:00 committed by Gaelle Braud
parent d7202a15b8
commit 5a956ff655

View file

@ -238,7 +238,6 @@ OIDCModel::OIDCModel(const std::shared_ptr<linphone::AuthInfo> &authInfo, QObjec
// in case we want to add parameters. Needed to override redirect_url
mOidc.setModifyParametersFunction([&, username = Utils::coreStringToAppString(authInfo->getUsername())](
QAbstractOAuth::Stage stage, QMultiMap<QString, QVariant> *parameters) {
parameters->insert("login_hint", username);
parameters->replace("application_type", "native");
switch (stage) {
case QAbstractOAuth::Stage::RequestingAccessToken: {