Skip to content

feat: Support OIDC login using solid-oidc-client (with threading.Thread)#43

Open
renyuneyun wants to merge 2 commits into
twonote:masterfrom
renyuneyun:fix/python314
Open

feat: Support OIDC login using solid-oidc-client (with threading.Thread)#43
renyuneyun wants to merge 2 commits into
twonote:masterfrom
renyuneyun:fix/python314

Conversation

@renyuneyun
Copy link
Copy Markdown
Contributor

This is similar to #38 , but uses threading.Thread instead of multiprocessing.Process.
In fact, this one creates another commit on top of the HEAD in #38 , just for this switching.

The reason for this switch is due to Python 3.14 underlying changes, so RLock with Process won't work anymore on *nix.

The library solid-oidc-client currently has caveats for token refresh (etc).
Use with caution.
multiprocessing.Process requires pickling its arguments, which fails on
Python 3.14 (forkserver default) because SolidOidcClient contains an
unpicklable RLock. A daemon Thread shares memory directly and needs no
serialization.
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.

1 participant