Make Spring SAML SP work with other port than 8080

270 views Asked by At

I'm using this sample project from vdenotaris 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 here

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:

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:

  • change the default EntityId
  • make a brand-new registration on SSO Circle (or any other IdP)

But I don't understand how to change the default EntityId

What have I tried so far? adding server.port=9090 to the application.properties, and I'm able to run his project just fine, but when I send the assertion back from the IDP => SP I keep getting a 404..

I'm kinda new into Java and Spring so any help will be great, I'm stuck in here.

0

There are 0 answers