Hi, Jakub.
As Michael has mentioned, we will need more data from you to provide assistance. Please also provide metadata of all SPs you have issues with, and screenshots of their configuration from Gluu's web UI.
>After redirecting to this page, it continues redirecting me to: https://login.mydomain.com/identity/home.htm Which gives me the Gluu Web UI.
This is very strange result. Can't even say what could cause it. Please record your complete failing flow and provide us HAR file of it. You can use steps listed [here](https://www.inflectra.com/support/knowledgebase/kb254.aspx) - please use Firefox for that, Chrome's HARs are flawed. Also don't forget to set "Persist log" and "Disable cache" checkboxes in the console to save everything, not just the recently loaded page.
Before doing the capture, please if possible disable assertion encryption at your IDP, this will help troubleshooting it a lot (we need to see which attributes are being sent in the SAML response)
You also can't simply re-use a previously used and/or outdate url with a SAML request embeded into it, as the protocol has inbuilt protection agains replay attacks, which seems to be the reason you got this error.
Regarding your questions:
> What should be the full login URL, so I can login using this SAML configuration to my SP?
I believe you're talking about sign-in url at SP, the one which will trigger a SAML flow. This will differ between SP implementations, and will depend on how a specific SP is configured. Please note that we don't cover SP configuration topics under Community (free) support.
>What log files I should be looking for to find where is my error in case I am having any configuration problem?
The most important log when it comes to troubleshooting issues with IDP is `/opt/shibboleth-idp/logs/idp-process.log`. You also may opt to rise its verbosity level by editing `/opt/shibboleth-idp/conf/logback.xml`, specifically next 3 elements:
```
<variable name="idp.loglevel.idp" value="INFO" />
<variable name="idp.loglevel.messages" value="INFO" />
<variable name="idp.loglevel.opensaml" value="INFO" />
```
Set them to "DEBUG" and restart `idp` service to see more detailed logs.
>What would be an unsolicited login URL in my case? I will want to be able to login to an application from a custom login page that will have links to several SP (does that page already exist with Gluu? my /idp page returns "No services are available at this location"). I have tried this URL: https://login.mydomain.com/idp/profile/SAML2/Unsolicited/SSO?providerId=https://myprovider.com
You seem to be using the correct procedure to trigger the Unsolicited flow. Just note that "providerId" must contain entityid in it, which you can learn from SP's metadata, or by capturing and studying SP's initial SAML request.
Yet this:
>But again, it redirects me to the provider and then returns again to the error page of /identity/feedback.html.
..again isn't the expected result. Please create a HAR file capturing that flow as well, and share with us.