title: Make Spring SAML SP work with other port than 8080
body: <p>I'm using this <a href="https://github.com/vdenotaris/spring-boot-security-saml-sample" rel="nofollow noreferrer">sample project from vdenotaris</a> as the SP, and I'm building a POC of an IDP using spring boot. I ran into an issue which was answerered by the repo owner <a href="https://github.com/vdenotaris/spring-boot-security-saml-sample/issues/35" rel="nofollow noreferrer">here</a></p>
  <p>However I don't need to register yet my SP on the IDP (since the IDP isn't implemented) but my end project needs to run on the port 8080, and that's causing me conflicts with the Service Provider (sample project), how can I make it work for another port?
  Vincenzo states in the issue the following:</p>
  <p>The application is pre-registered on SSO Circle, with localhost:8080 as endpoint (static).
  If you would like to use another port, you need to:</p>
  <blockquote>
  <ul>
  <li>change the default EntityId</li>
  <li>make a brand-new registration on SSO Circle (or any other IdP)</li>
  </ul>
  </blockquote>
  <p>But I don't understand how to change the default EntityId</p>
  <p>What have I tried so far? adding <code>server.port=9090</code> to the application.properties, and I'm able to run his project just fine, but when I send the assertion back from the IDP =&gt; SP I keep getting a 404..</p>
  <p>I'm kinda new into Java and Spring so any help will be great, I'm stuck in here.</p>