Skip to content

providers/oauth2: add initial JWE support#11344

Merged
BeryJu merged 4 commits intomainfrom
providers/oauth2/jwe
Oct 17, 2024
Merged

providers/oauth2: add initial JWE support#11344
BeryJu merged 4 commits intomainfrom
providers/oauth2/jwe

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Sep 11, 2024

Details

REPLACE ME


Checklist

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

If an API change has been made

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

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

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

@BeryJu BeryJu requested review from a team as code owners September 11, 2024 15:40
@notion-workspace
Copy link

@netlify
Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for authentik-storybook canceled.

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

@netlify
Copy link

netlify bot commented Sep 11, 2024

Deploy Preview for authentik-docs canceled.

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

@codecov
Copy link

codecov bot commented Sep 11, 2024

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.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
authentik/providers/oauth2/views/provider.py 60.00% 2 Missing ⚠️
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%) ⬇️
integration 24.91% <5.26%> (-0.05%) ⬇️
unit 90.21% <94.73%> (+0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BeryJu BeryJu force-pushed the providers/oauth2/jwe branch from 0bf3773 to 85969ae Compare September 11, 2024 15:58
@github-actions
Copy link
Contributor

github-actions bot commented Sep 11, 2024

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.

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu force-pushed the providers/oauth2/jwe branch from 85969ae to 81de2fd Compare October 16, 2024 14:56
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner October 16, 2024 15:35
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu merged commit 47206d3 into main Oct 17, 2024
@BeryJu BeryJu deleted the providers/oauth2/jwe branch October 17, 2024 12:04
kensternberg-authentik added a commit that referenced this pull request Oct 18, 2024
* main: (68 commits)
  core: extract object matching from flow manager (#11458)
  admin: store version history (#11520)
  web: bump API Client version (#11706)
  providers/oauth2: add initial JWE support (#11344)
  core, web: update translations (#11703)
  tests/e2e: add forward auth e2e test (#11374)
  web/admin: fix duplicate flow labels (#11689)
  providers/saml: fix incorrect ds:Reference URI (#11699)
  website/docs: Fix websocket default config for nginx proxy manager (#11621)
  core, web: update translations (#11692)
  core: bump uvicorn from 0.31.1 to 0.32.0 (#11693)
  core: bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 (#11694)
  website/docs: add missing file to sidebar (#11695)
  website/docs: rewrote too long sentence (#11696)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in fr (#11697)
  translate: Updates for file web/xliff/en.xlf in fr (#11698)
  stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#11683)
  core, web: update translations (#11682)
  core: bump github.com/getsentry/sentry-go from 0.29.0 to 0.29.1 (#11684)
  core: bump github.com/redis/go-redis/v9 from 9.6.1 to 9.6.2 (#11685)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant