Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default port on example RP #29

Open
mattebit opened this issue Nov 7, 2023 · 2 comments
Open

Change default port on example RP #29

mattebit opened this issue Nov 7, 2023 · 2 comments

Comments

@mattebit
Copy link

mattebit commented Nov 7, 2023

It could be useful to have a way to change the default 8080 port of the example RP to a different one. And also update the oidc uris accordingly. I've tried to edit the application.yml file adding

port: 8005

under the server: tag, but it seems not to use the application.yml file when running.

Is there a way to do this?

@rglauco
Copy link
Collaborator

rglauco commented Oct 10, 2024

Sorry for being late, i've tested right now by changing the default server port in spid-cie-oidc-java/examples/relying-party-spring-boot/src/main/resources/application.yml

server:
   error:
      # This is an example project for developers. We could expose stacktrace
      include-stacktrace: always
   port: 8005

and it worked fine.
immagine

@mattebit
Copy link
Author

Thanks for the answer. At the time, I ended up keeping the original 8000 port. Today I have tried again, I've noticed that by using docker to run the example it does not edit the port, instead, building and running with maven works correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants