Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenID Connect #58

Merged
merged 18 commits into from
Jul 28, 2024
Merged

OpenID Connect #58

merged 18 commits into from
Jul 28, 2024

Conversation

holesch
Copy link
Owner

@holesch holesch commented Jul 27, 2024

No description provided.

holesch added 18 commits May 5, 2024 18:32
Fixes the following error:

    AttributeError: 'FixtureDef' object has no attribute 'unittest'
Disable contextmanager-generator-missing-cleanup: too many false
positives.
With even more paths pylint would complain about too many return
statements.
The login command can request and store an OpenID Connect ID token. It's
not used, yet.
This will optionally refresh the ID token and return it for use in the
Authorization HTTP header.
Make sure the auth_info in config is sane and only send known keys to
the clients.
With the bidirectional jsonrpc channel it's now possible to use one
endpoint again. This makes it easier to integrate authentication,
because then there's only one connection handler.

Drop the dummy WebSocket authentication. Since ID tokens need to be
refreshed, a one time authentication is not enough. Without
authentication, all endpoints are the same, even for login.
Allows Hub to authenticate clients.
The class could cache the identity provider responses.
Request the ID token from clients, convert it into roles and check if
the required roles are present before executing the RPC call.

The ID token is refreshed in a background task. If refreshing fails,
then the connection is closed.
This is mostly useful for testing.
Only the classifiers were updated, but not the actual version
requirement.
@holesch holesch merged commit 52d5b8a into master Jul 28, 2024
9 checks passed
@holesch holesch deleted the oidc branch August 1, 2024 19:43
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