Setup secrets ktor - #3
Draft
erlendsorknes wants to merge 7 commits into
Draft
Conversation
* Init ktor and gradle build * Added common building logic to client and server plus gitignore
erlendsorknes
force-pushed
the
setup-secrets-ktor
branch
from
September 7, 2026 08:44
54e2ba9 to
c942382
Compare
Runs ./gradlew build on pull requests and on pushes to main, so compile errors and failing tests are caught without a manual review.
* Copied over pr template from other repo
* Start of a PdpClient * More code copiet from the java library * Changed from no.kartverket.altinn to no.bekk.altinnpdp * Removed main.kt * Make tokenUrl required in MaskinportenConfig * Make isPermitted return PdpException upon failure * Remove .env.example from .gitignore * Update build files
Review feedback on #4: ALTINN_API_KEY was not referenced anywhere in the repo, making the template misleading. Make it comment-only and note in the README that variables are added as the app starts reading them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
erlendsorknes
force-pushed
the
setup-secrets-ktor
branch
from
September 7, 2026 12:26
c942382 to
cbec759
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Oppsummering:
Legger til en enkel lokal løsning for håndtering av secrets i Ktor
.env.examplescripts/dev.shsom eksporterer verdiene fra.envog starter KtorHvordan: