I ran into a problem testing an app locally, with localtest running in Podman. The issue is that the endpoint for the openid connect configuration generates a URL to the JWK that the app is unable to reach.
Could I have solved it in a different way? Changing settings in my app?
Configuration in my app points to localhost:5101 for all platform endpoints. These are default settings for a new app and they seems to work. The issue starts when localtest returns a generated URL in a response like for the openid connect configuration.
Verification
[x] Your code builds clean without any errors or warnings
[x] Manual testing done (required)
[x] Relevant automated test added (if you find this hard, leave it and we'll help out)
[x] All tests run green
Documentation
[x] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)
Description
I ran into a problem testing an app locally, with localtest running in Podman. The issue is that the endpoint for the openid connect configuration generates a URL to the JWK that the app is unable to reach.
Could I have solved it in a different way? Changing settings in my app?
Configuration in my app points to localhost:5101 for all platform endpoints. These are default settings for a new app and they seems to work. The issue starts when localtest returns a generated URL in a response like for the openid connect configuration.
Verification
Documentation