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

Feature/32591 authenticate #16

Merged
merged 42 commits into from
Nov 7, 2024
Merged

Feature/32591 authenticate #16

merged 42 commits into from
Nov 7, 2024

Conversation

Lesrac
Copy link
Contributor

@Lesrac Lesrac commented Oct 30, 2024

No description provided.

rsteppac and others added 30 commits May 14, 2024 11:21
…error-responses

use actual problem json in wiremock responses
publish release and develop changes. Updates logback configuration
…oll source directories (as before) in case events are not available
…stem-events-instead-of-polling-in-filesystems-that-support-events

#37649 use filesystem events to trigger file upload when available, p…
…pload once at startup; per-execution polling logs are now on level DEBUG
…stem-events-instead-of-polling-in-filesystems-that-support-events

#37649 only log which directories are being polled for documents to u…
…fest-after-main-class-renaming

Fixed wrong name of start class in SpringBoot uber jar
@Lesrac Lesrac requested a review from rsteppac October 30, 2024 12:48
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docker-compose/docker-compose.yaml Outdated Show resolved Hide resolved
this[AZURE_TRACE_ID_HEADER] = traceId
this.build()
// TODO: Remove this check once the token is required
val accessToken = if(cdrClientConfig.idpCredentials.tenantId != DEFAULT_TENANT_ID) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You could return the token string from getAccessToken(), use an empty string in the else case and then test for isNotBlank to decide whether you should add the bearer token authZ header?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But that would mean that we called the token service with some wrong data. If we already know that we don't want to call it then I'd rather not do it.

src/main/resources/config/application-client.yaml Outdated Show resolved Hide resolved
rsteppac
rsteppac previously approved these changes Nov 6, 2024
docker-compose/mockOAuth2Server/config.json Outdated Show resolved Hide resolved
@Lesrac Lesrac merged commit 015f61e into develop Nov 7, 2024
4 checks passed
@Lesrac Lesrac deleted the feature/32591-authenticate branch November 11, 2024 07:42
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