Altinn / app-localtest

Solution for testing apps locally on your own machine
8 stars 13 forks source link

Fixes for app testing with localtest in podman #92

Closed SandGrainOne closed 8 months ago

SandGrainOne commented 8 months ago

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.

image

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