-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix for local testing for altinn-receipt
#91
base: main
Are you sure you want to change the base?
Fix for local testing for altinn-receipt
#91
Conversation
altinn-receipt
Can you explain how and why this will fix anything? Does localtest need to call authorization endpoints over http? You'll also need to fix https://github.com/Altinn/app-localtest/blob/main/podman-compose.yml |
@ivarne You are correct! This change need to reflect the Now the question is why this change? When testing Related Issue(s) and PR(s) |
What do you mean by I don't see how changing the environment variables for the localtest mock project does anything to the receipt project? |
@ivarne Yes. You are correct I'm referring to testing https://github.com/Altinn/altinn-receipt project locally. So when the I must admit that it is not the best way to fix it. It'd be better if we can have this in the |
Aha, Now I understand. This "fix" will likely break apps that use this endpoint to get the json web keys to verify cookies when running outside of docker (all of them), so we need a better solution. |
Maybe @tjololo has some ideas for how the openIdConnect endpoint can reply with an url for the keys that works both inside and outside docker? |
@ivarne I'm unable to test an app locally on my machine without changes for podman.
to the appsettings.podman.json file. |
Fix for local testing for
altinn-receipt
Description
While this solution addresses local testing for
altinn-receipt
, I'm open to exploring alternative methods that don't involve modifying thedocker-compose.yml
file directly. If you have any ideas or suggestions, please provide your input here. 🙂Related Issue(s)
app-localtest
altinn-receipt#265Verification
Documentation