-
Notifications
You must be signed in to change notification settings - Fork 8
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
Various updates #18
Various updates #18
Conversation
…URL in Credential Issuer Metadata.
…o endpoint to work without issues.
…fferent URL in Credential Issuer Metadata." This reverts commit c5dacef.
…PID issuer application.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some minor comments.
Let's discuss them
# | ||
# Issuer options | ||
# | ||
issuer.clientId=pid-issuer | ||
issuer.publicUrl=http://localhost:${server.port} | ||
issuer.publicUrl=http://localhost:${server.port}/${spring.webflux.base-path} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will evaluate to // I think
@@ -246,9 +241,12 @@ fun beans(clock: Clock) = beans { | |||
authorize(MetaDataApi.WELL_KNOWN_OPENID_CREDENTIAL_ISSUER, permitAll) | |||
authorize(MetaDataApi.WELL_KNOWN_JWKS, permitAll) | |||
authorize(IssuerApi.CREDENTIALS_OFFER, permitAll) | |||
authorize("/actuator/health", permitAll) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not All
}, | ||
) | ||
} | ||
bean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this inside the security configuration if profile
can be nested inside a beans { }
class EncodePidInCborWithMicroService(private val creatorUrl: HttpsUrl) : EncodePidInCbor { | ||
class EncodePidInCborWithMicroService( | ||
private val creatorUrl: HttpsUrl, | ||
private val webClient: WebClient, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why pass a client?
Pass the "Mode of operation" a let the adapter provision a WebClient using the factory methods
In general to mix to many changes in PR |
build.gradle.kts
docker compose
WebClients
docker-compose.yaml
docker compose
Closes: #4