This is an automated email from the ASF dual-hosted git repository.
sciabarracom pushed a change to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-admin-api.git
from 3babcc5 ignore branch
add 9d65197 Backport OIDC authentication to 0.9.0 without changing legacy
flows
new 55ae09f Merge pull request #53 from
miki3421/codex/backport-sso-oidc-0.9.0
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.env.example | 53 ++-
.github/workflows/check.yml | 2 +
Taskfile.yml | 5 +
docs/OIDC.md | 193 ++++++++++
openserverless/common/oidc_validator.py | 167 ++++++++
openserverless/common/sso_namespace.py | 91 +++++
openserverless/impl/auth/auth_service.py | 231 ++++++++++-
.../impl/auth/oidc_device_flow_service.py | 251 ++++++++++++
openserverless/rest/auth.py | 206 +++++++++-
tests/test_auth_service_legacy.py | 89 +++++
tests/test_auth_service_oidc.py | 309 +++++++++++++++
tests/test_oidc_device_flow_service.py | 428 +++++++++++++++++++++
tests/test_oidc_validator.py | 119 ++++++
tests/test_sso_namespace.py | 77 ++++
14 files changed, 2213 insertions(+), 8 deletions(-)
create mode 100644 docs/OIDC.md
create mode 100644 openserverless/common/oidc_validator.py
create mode 100644 openserverless/common/sso_namespace.py
create mode 100644 openserverless/impl/auth/oidc_device_flow_service.py
create mode 100644 tests/test_auth_service_legacy.py
create mode 100644 tests/test_auth_service_oidc.py
create mode 100644 tests/test_oidc_device_flow_service.py
create mode 100644 tests/test_oidc_validator.py
create mode 100644 tests/test_sso_namespace.py