Skip to content

AP-807: Unpins authlib w/client_id header allowed - #94

Merged
anarchivist merged 1 commit into
mainfrom
AP-807-authlib_registry_update
Aug 12, 2026
Merged

AP-807: Unpins authlib w/client_id header allowed#94
anarchivist merged 1 commit into
mainfrom
AP-807-authlib_registry_update

Conversation

@danschmidt5189

Copy link
Copy Markdown
Member

No description provided.

@danschmidt5189

Copy link
Copy Markdown
Member Author

@anarchivist Review requested, but I think we should get this on staging temporarily before merging it.

@anarchivist anarchivist 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.

r+; one minor clarification requested.

Comment thread pyproject.toml
"apache-airflow-task-sdk == 1.3.0",
# Temporary workaround for https://github.com/authlib/authlib/issues/902.
"authlib < 1.7.0",
"authlib",

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.

does this effectively pin us to authlib >= 1.7.0? i think that's when it changed to call joserfc directly.

@awilfox awilfox Aug 1, 2026

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.

I don't know if it does. The test may fail on Authlib < 1.7.0, but the code itself should work fine. (the test might still work actually? can't properly tell.)

If we are < 1.7.0, we are using the old code and it doesn't matter whether the header is registered or not. We are pulling in joserfc ourselves so the dependency isn't transient - the registration will succeed, it is just not used anywhere. If we are >= 1.7.0, then the registration fixes the client_id issue and we're good.

@anarchivist
anarchivist force-pushed the AP-807-authlib_registry_update branch from bcd521e to 5cedced Compare August 11, 2026 20:08
@anarchivist

Copy link
Copy Markdown
Member

MR for ops/docker-swarm to test this before merging this PR: https://git.lib.berkeley.edu/ops/docker-swarm/-/merge_requests/417

@anarchivist

Copy link
Copy Markdown
Member

Confirming it worked on staging, so merging.

@anarchivist
anarchivist merged commit a0f28fe into main Aug 12, 2026
5 checks passed
@anarchivist
anarchivist deleted the AP-807-authlib_registry_update branch August 12, 2026 01:08
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.

3 participants