authentik icon indicating copy to clipboard operation
authentik copied to clipboard

providers/oauth2: add initial JWE support

Open BeryJu opened this issue 1 year ago • 5 comments
trafficstars

Details

REPLACE ME


Checklist

  • [x] Local tests pass (ak test authentik/)
  • [x] The code has been formatted (make lint-fix)

If an API change has been made

  • [x] The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • [x] The code has been formatted (make web)

If applicable

  • [ ] The documentation has been updated
  • [ ] The documentation has been formatted (make website)

BeryJu avatar Sep 11 '24 15:09 BeryJu

Deploy Preview for authentik-storybook canceled.

Name Link
Latest commit 592fcda2e94b240d8bbc0863fdef447ab5b09633
Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/670fea30a681e90008fbe9e3

netlify[bot] avatar Sep 11 '24 15:09 netlify[bot]

Deploy Preview for authentik-docs canceled.

Name Link
Latest commit 592fcda2e94b240d8bbc0863fdef447ab5b09633
Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/670fea30e4f8d70008b86357

netlify[bot] avatar Sep 11 '24 15:09 netlify[bot]

Codecov Report

Attention: Patch coverage is 97.89474% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.68%. Comparing base (01e7124) to head (592fcda). Report is 6 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/providers/oauth2/views/provider.py 60.00% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11344      +/-   ##
==========================================
- Coverage   92.75%   92.68%   -0.07%     
==========================================
  Files         736      736              
  Lines       36609    36698      +89     
==========================================
+ Hits        33956    34015      +59     
- Misses       2653     2683      +30     
Flag Coverage Δ
e2e 49.20% <28.42%> (-0.18%) :arrow_down:
integration 24.91% <5.26%> (-0.05%) :arrow_down:
unit 90.21% <94.73%> (+0.01%) :arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Sep 11 '24 15:09 codecov[bot]

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-592fcda2e94b240d8bbc0863fdef447ab5b09633
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-592fcda2e94b240d8bbc0863fdef447ab5b09633-arm64
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
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-592fcda2e94b240d8bbc0863fdef447ab5b09633

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-592fcda2e94b240d8bbc0863fdef447ab5b09633-arm64

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

github-actions[bot] avatar Sep 11 '24 16:09 github-actions[bot]