Skip to content

Tidy and docs - #35

Merged
matthewhorridge merged 7 commits into
mainfrom
tidy-and-docs
Dec 15, 2025
Merged

Tidy and docs#35
matthewhorridge merged 7 commits into
mainfrom
tidy-and-docs

Conversation

@matthewhorridge

Copy link
Copy Markdown
Contributor

Cleans up keycloak, removes no-longer used functionality i.e. AuthorizationCommandsController. Removes previous verification functionality. Removes issuer uri property.

Note the "keycloak-admin" path element is renamed to the more standard name "keycloak" (PRs for other repos will be provided to take this into account).

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +34 to +36
try(var tokenVerifierStatic = mockStatic(TokenVerifier.class)) {
tokenVerifierStatic.when(() -> TokenVerifier.create(jwt, AccessToken.class))
.thenReturn(verifier);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Enable inline Mockito mock maker for static TokenVerifier mocks

The new JwtRolesExtractor tests rely on mockStatic(TokenVerifier.class), but the project only pulls in spring-boot-starter-test (mockito-core) and has no mockito-inline dependency or mockito-extensions/org.mockito.plugins.MockMaker configuration to enable static mocking. With the current dependencies, running the test suite will throw a MockitoException stating that the inline mock maker is not enabled and the tests will fail before any assertions execute.

Useful? React with 👍 / 👎.

@matthewhorridge matthewhorridge self-assigned this Dec 15, 2025
@matthewhorridge
matthewhorridge merged commit 47731a5 into main Dec 15, 2025
4 checks passed
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