authentik icon indicating copy to clipboard operation
authentik copied to clipboard

stages: authenticator_mobile [AUTH-63]

Open BeryJu opened this issue 2 years ago • 7 comments

Details

  • Does this resolve an issue? Resolves #

Changes

New Features

  • Adds feature which does x, y, and z.

Breaking Changes

  • Adds breaking change which causes <issue>.

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)
  • [ ] The translation files have been updated (make i18n-extract)

If applicable

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

BeryJu avatar Jul 24 '23 21:07 BeryJu

Deploy Preview for authentik-storybook failed.

Name Link
Latest commit 81b2a95a9a5eba3acd64f0920f09b85769051d99
Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/65c5289b6f582f000826a5f4

netlify[bot] avatar Jul 24 '23 21:07 netlify[bot]

Codecov Report

Attention: 180 lines in your changes are missing coverage. Please review.

Comparison is base (cef1d2d) 46.62% compared to head (c5024b1) 91.87%. Report is 37 commits behind head on main.

:exclamation: Current head c5024b1 differs from pull request most recent head 81b2a95. Consider uploading reports for the commit 81b2a95 to get more accurate results

Files Patch % Lines
authentik/stages/authenticator_mobile/models.py 59.57% 57 Missing :warning:
...thentik/stages/authenticator_validate/challenge.py 23.91% 35 Missing :warning:
...uthentik/stages/authenticator_mobile/api/device.py 70.40% 29 Missing :warning:
...entik/stages/authenticator_mobile/cloud_gateway.py 36.84% 24 Missing :warning:
authentik/stages/authenticator_mobile/stage.py 56.81% 19 Missing :warning:
authentik/stages/authenticator_mobile/api/stage.py 78.12% 7 Missing :warning:
authentik/stages/authenticator_mobile/api/auth.py 84.61% 4 Missing :warning:
authentik/stages/authenticator_validate/stage.py 73.33% 4 Missing :warning:
authentik/enterprise/models.py 80.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6359       +/-   ##
===========================================
+ Coverage   46.62%   91.87%   +45.25%     
===========================================
  Files         626      633        +7     
  Lines       30996    31372      +376     
===========================================
+ Hits        14451    28823    +14372     
+ Misses      16545     2549    -13996     
Flag Coverage Δ
e2e 50.76% <59.53%> (+6.04%) :arrow_up:
integration 26.12% <31.86%> (+0.13%) :arrow_up:
unit 89.16% <62.26%> (?)

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 Jul 24 '23 21:07 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-stages-authenticator_mobile-1707421812-81b2a95
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-stages-authenticator_mobile-1707421812-81b2a95-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-stages-authenticator_mobile-1707421812-81b2a95

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-stages-authenticator_mobile-1707421812-81b2a95-arm64

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

github-actions[bot] avatar Jul 25 '23 09:07 github-actions[bot]

Deploy Preview for authentik ready!

Name Link
Latest commit e39867bc3365382734d43329e5a5763800f33415
Latest deploy log https://app.netlify.com/sites/authentik/deploys/64f60139fb6aea0008ef761d
Deploy Preview https://deploy-preview-6359--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 configuration.

netlify[bot] avatar Sep 04 '23 16:09 netlify[bot]

Deploy Preview for authentik ready!

Name Link
Latest commit 5389e0e017aca6ace6815b5716c2bcde4d858001
Latest deploy log https://app.netlify.com/sites/authentik/deploys/65c51e0015f34c00088a7458
Deploy Preview https://deploy-preview-6359--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 configuration.

netlify[bot] avatar Sep 04 '23 16:09 netlify[bot]

authentik translations instructions

Thanks for your pull request!

authentik translations are handled using Transifex. Please edit translations over there and they'll be included automatically.

github-actions[bot] avatar Dec 16 '23 21:12 github-actions[bot]