Skip to content

feat(medcat-trainer-client): Support OIDC in medcat trainer client#428

Merged
alhendrickson merged 4 commits into
mainfrom
feat/medcat-trainer/support-oidc-in-mct-client
May 11, 2026
Merged

feat(medcat-trainer-client): Support OIDC in medcat trainer client#428
alhendrickson merged 4 commits into
mainfrom
feat/medcat-trainer/support-oidc-in-mct-client

Conversation

@alhendrickson

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread medcat-trainer/client/mctclient.py Fixed
@alhendrickson alhendrickson merged commit 1667dd1 into main May 11, 2026
10 checks passed
@alhendrickson alhendrickson deleted the feat/medcat-trainer/support-oidc-in-mct-client branch May 11, 2026 13:21

token = get_keycloak_access_token(kc_settings)
self.headers = {"Authorization": f"Bearer {token}"}
return

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I feel like the early return could bite us in the bum later down the road.
I.e I feel like the 2 different auth / header getting methods should be moved outside the __init__ and called in if/else manner.

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.

4 participants