authentik icon indicating copy to clipboard operation
authentik copied to clipboard

providers/saml: initial SLO implementation

Open BeryJu opened this issue 3 years ago • 2 comments

Signed-off-by: Jens Langhammer [email protected]

BeryJu avatar Feb 20 '22 17:02 BeryJu

Codecov Report

Base: 92.86% // Head: 92.83% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (535a8fb) compared to base (119a268). Patch coverage: 79.20% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2346      +/-   ##
==========================================
- Coverage   92.86%   92.83%   -0.03%     
==========================================
  Files         478      482       +4     
  Lines       23684    23833     +149     
==========================================
+ Hits        21992    22123     +131     
- Misses       1692     1710      +18     
Flag Coverage Δ
e2e 53.45% <51.45%> (+0.02%) :arrow_up:
integration 27.09% <0.00%> (-0.17%) :arrow_down:
unit 89.46% <72.84%> (-0.06%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
authentik/core/tests/test_source_flow_manager.py 100.00% <ø> (ø)
authentik/providers/oauth2/tests/test_jwks.py 100.00% <ø> (ø)
.../providers/saml/processors/authn_request_parser.py 82.98% <50.00%> (ø)
authentik/providers/saml/views/metadata.py 58.34% <58.34%> (ø)
authentik/providers/saml/views/slo.py 66.67% <66.67%> (ø)
authentik/providers/saml/api/providers.py 88.16% <68.43%> (+8.31%) :arrow_up:
...providers/saml/processors/logout_request_parser.py 86.85% <86.85%> (ø)
authentik/providers/saml/processors/assertion.py 89.19% <100.00%> (ø)
authentik/providers/saml/processors/metadata.py 100.00% <100.00%> (ø)
authentik/providers/saml/tests/test_api.py 100.00% <100.00%> (ø)
... and 9 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Feb 20 '22 17:02 codecov[bot]

Deploy Preview for authentik ready!

Name Link
Latest commit ea51559134b325d7dba9998cf05a6c93f5ac8c48
Latest deploy log https://app.netlify.com/sites/authentik/deploys/63b5c93f1ed08d000820feb9
Deploy Preview https://deploy-preview-2346--authentik.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Feb 21 '22 21:02 netlify[bot]

Has this PR been abandoned?

Marc-Tanne avatar Dec 06 '22 20:12 Marc-Tanne

@Marc-Tanne no, I just haven't had time to work on this as other smaller things had to be done, and security issues had to be handled

BeryJu avatar Dec 27 '22 13:12 BeryJu

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-providers-saml-slo-1672855552-5a5bbf7b48250a457324b670e4d3cd2ee26f7b1e
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-providers-saml-slo-1672855552-5a5bbf7b48250a457324b670e4d3cd2ee26f7b1e

Afterwards, run the upgrade commands from the latest release notes.

github-actions[bot] avatar Jan 04 '23 16:01 github-actions[bot]