Skip to content

Add username_key setting to configure python-social-auth OIDC #20497

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

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from

Conversation

marius-mather
Copy link

This PR adds the USERNAME_KEY setting to the OIDC config, which is used by python-social-auth to extract the username. We are implementing an OIDC login system across multiple platforms and need to configure this so we can have a Galaxy-specific username.

AuthnzManager and PSAAuthnz did not seem to have existing unit tests so I've added basic tests of parsing the XML config to check that values are passed through correctly.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@github-actions github-actions bot added area/testing area/auth Authentication and authorization labels Jun 17, 2025
@github-actions github-actions bot added this to the 25.1 milestone Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/auth Authentication and authorization area/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant