load credentials from ini file

portal is the section name in the ini file
This commit is contained in:
Roberto Metere
2023-10-14 12:53:04 +01:00
parent 705b03c0bb
commit cd8d794655
5 changed files with 35 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ void GatewayAuthenticator::samlAuth(QString samlMethod, QString samlRequest, QSt
{
LOGI << "Trying to perform SAML login with saml-method " << samlMethod;
auto *loginWindow = new SAMLLoginWindow;
auto *loginWindow = new SAMLLoginWindow(gateway);
connect(loginWindow, &SAMLLoginWindow::success, [this, loginWindow](const QMap<QString, QString> &samlResult) {
this->onSAMLLoginSuccess(samlResult);