galaxyproject / pulsar

Distributed job execution application built for Galaxy
https://pulsar.readthedocs.io
Apache License 2.0
37 stars 50 forks source link

User auth plugins #321

Closed SergeyYakubov closed 1 year ago

SergeyYakubov commented 1 year ago

Allows to configure plugins for user authentication/authorization. Includes methods to authenticate based on OIDC token (see issue https://github.com/galaxyproject/galaxy/issues/15526).

This is a stacked PR after https://github.com/galaxyproject/pulsar/pull/320

mvdbeek commented 1 year ago

This looks good to me, besides the conflict that needs resolving I think my only comment is that it would be nice to have a small example of a configuration in the docs and how to verify it works.

mvdbeek commented 1 year ago

I think you need to add pulsar.user_auth to https://github.com/galaxyproject/pulsar/blob/master/setup.py#L57 (or use setuptools.find_packages instead of the old manual way).

mvdbeek commented 1 year ago

Thanks so much @SergeyYakubov, I'm sure we'll get the corresponding galaxy part in before the next release