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

Fixes for app testing with localtest in podman #92

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

SandGrainOne
Copy link
Member

@SandGrainOne SandGrainOne commented Mar 13, 2024

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

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@SandGrainOne SandGrainOne marked this pull request as ready for review March 13, 2024 16:55
Copy link
Contributor

@acn-sbuad acn-sbuad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎈

@SandGrainOne SandGrainOne merged commit 9760360 into main Mar 18, 2024
1 check passed
@SandGrainOne SandGrainOne deleted the chore/fixes-for-running-localtest-in-podman branch March 18, 2024 14:41
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

Successfully merging this pull request may close these issues.

2 participants