Changing the port by changing the offset in the deployment.toml or using -DportOffset
doesn't get applied to the Console and the My Account applications.
How to reproduce:
- Change the offset by adding the following config to the deployment.toml
[server]
offset=2
- Start the server
- Access the console app from https://localhost:9445/console
- Access the my account app from https://localhost:9445/myaccount
Following error is displayed.
Observed, that the reason is that the callback URL is not changed when the hostname or port is changed. Even changing the URLs manually from the management console is not allowed.
What is the recommendation to get Myaccount and Console apps working when hostname or port is changed?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…