Skip to content

Keycloak Authentication#178

Merged
jeanetteclark merged 36 commits into
mainfrom
feat-keycloak-auth
Jul 1, 2026
Merged

Keycloak Authentication#178
jeanetteclark merged 36 commits into
mainfrom
feat-keycloak-auth

Conversation

@jeanetteclark

Copy link
Copy Markdown
Contributor

Addresses #142
This also makes some QOL improvements that make testing easier by removing global variables from the CLI and replacing them with Click contexts instead.

Some minor housekeeping will need to happen before the release:

  • update the dataone.auth dependency to point to a version when that is released
  • maybe more documentation?

Comment thread src/ogdc_runner/service/auth_routes.py Outdated
Comment thread src/ogdc_runner/service/main.py Outdated

@rushirajnenuji rushirajnenuji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks Jeanette, this looks great. I was able to successfully test this set up - both locally and in dev. Passes all unit and integration tests locally (tested with the Traefik PR)

On dev-k8s, I was able to successfully login to Keycloak and get access and refresh tokens. Setting up and using the tokens worked seamlessly as well while submitting the workflows to the service.

Couple of minor suggestions, which could go into this or as a follow on PR. Okay to go ahead and merge this to main

Thank you again @jeanetteclark for your time and efforts to get this support in, and related work to dataone-auth. 🙌🏻🚀

@jeanetteclark jeanetteclark marked this pull request as ready for review June 25, 2026 23:01

@rushirajnenuji rushirajnenuji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me, thanks @jeanetteclark

@jeanetteclark jeanetteclark merged commit f433e5c into main Jul 1, 2026
12 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