authentik icon indicating copy to clipboard operation
authentik copied to clipboard

web/flows: Simplified flow executor

Open BeryJu opened this issue 1 year ago • 4 comments

Details

Add a simplified flow executor for applications which cannot support a modern browser engine (sigh, microsoft)

Goals: compatible with IE ~11 and EdgeHTML ~18

Supported stage:

  • [x] Identification stage
  • [x] Password stage
  • [x] Redirect stage
  • [x] Autosubmit stage
  • [ ] Consent stage
  • [x] Authenticator validate (Code)
  • [ ] Authenticator validate (WebAuthn)

Checklist

  • [x] Local tests pass (ak test authentik/)
  • [x] 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 avatar Jun 29 '24 11:06 BeryJu

Deploy Preview for authentik-storybook canceled.

Name Link
Latest commit 982721fe87a8ec8db5febf1eeaa24027bcbc4972
Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/668830dfb5a4690008097cda

netlify[bot] avatar Jun 29 '24 11:06 netlify[bot]

Deploy Preview for authentik-docs ready!

Name Link
Latest commit 982721fe87a8ec8db5febf1eeaa24027bcbc4972
Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/668830dfcca7010008763de6
Deploy Preview https://deploy-preview-10296--authentik-docs.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 configuration.

netlify[bot] avatar Jun 29 '24 11:06 netlify[bot]

Codecov Report

Attention: Patch coverage is 84.61538% with 4 lines in your changes missing coverage. Please review.

Project coverage is 92.62%. Comparing base (a824fda) to head (982721f). Report is 6 commits behind head on main.

Files Patch % Lines
authentik/flows/views/interface.py 82.60% 4 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10296      +/-   ##
==========================================
- Coverage   92.62%   92.62%   -0.01%     
==========================================
  Files         713      714       +1     
  Lines       34989    35011      +22     
==========================================
+ Hits        32410    32429      +19     
- Misses       2579     2582       +3     
Flag Coverage Δ
e2e 49.60% <84.61%> (+0.02%) :arrow_up:
integration 25.36% <0.00%> (-0.02%) :arrow_down:
unit 90.12% <84.61%> (-0.01%) :arrow_down:

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 Jun 29 '24 11:06 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-ghcr.io/goauthentik/dev-server:gh-982721fe87a8ec8db5febf1eeaa24027bcbc4972
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-ghcr.io/goauthentik/dev-server:gh-982721fe87a8ec8db5febf1eeaa24027bcbc4972-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
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-982721fe87a8ec8db5febf1eeaa24027bcbc4972

For arm64, use these values:

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

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

github-actions[bot] avatar Jun 29 '24 11:06 github-actions[bot]

/cherry-pick version-2024.6

BeryJu avatar Jul 05 '24 17:07 BeryJu

Cherry-pick failed with Merge error bfc2fe7703a072200a3611a63b733ee146828190 into temp-cherry-pick-c2aeae-version-2024.6

Cherry-pick failed with Merge error bfc2fe7703a072200a3611a63b733ee146828190 into temp-cherry-pick-c2aeae-version-2024.6