Closed baoqphan closed 3 years ago
Enable the "debug" mode on the SAML settings, and also on Joomla/PHP, the reason for the invalid_response should be printed and then you will be able to fix the settings on IdP or SP in order to solve the issue.
Hi,
I can't see the reason for "invalid_response".
Thank you very much.
Sincerely,
Bao Q Phan
"Easy to take off. Harder to Fly"
On Mon, Apr 10, 2017 at 2:44 AM, Sixto Martin notifications@github.com wrote:
Enable the "debug" mode on the SAML settings, and also on Joomla/PHP, the reason for the invalid_response should be printed and then you will be able to fix the settings on IdP or SP in order to solve the issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/onelogin/joomla-saml/issues/2#issuecomment-292873757, or mute the thread https://github.com/notifications/unsubscribe-auth/AKjIyiUL1sJ-M_lv1Bv90oJS-uRRJeAvks5rud3UgaJpZM4M33m- .
Hi,
Edit oneloginsaml.php, line 65
$errors = $saml_auth->getErrors();
if (!empty($errors) && $debug) {
$msg_error .= '<br>'.implode(', ', $errors);
}
$msg_error .= '<br>'.$saml_auth->getLastErrorReason();
Here is more details on the error:
Error NO_AUTHENTICATED invalid_response The response has an empty Destination value
Here is the response (decoded):
So, The Destination field from the SAML response is actual empty
Destination=""
You need to provided on the Onelogin Test Connector a valid Recipient (in this case same than ACS URL).
Hi, I am using Joomla App in OneLogin and it goes against the joomla site.
Do I need to configure the Onelogin Test Connector?
Yes since it seems Joomla App in OneLogin works with previous versions of joomla-saml but not with the latest version that requires a Destination value.
@pitbulk 3 years old now. Please close.
Hi, I am new to onelogin. I want to integrate my Joomla Site with OneLogin. I installed onelogin joomla plugin (for 3.3) and oneplugin library. I set up all the settings. I got
NO_AUTHENTICATED invalid_response
When tried to login with a valid user and password.
Please help