Skip to content

stages/identification: don't check source component#9410

Merged
BeryJu merged 2 commits intogoauthentik:mainfrom
PythonCoderAS:patch-1
Apr 25, 2024
Merged

stages/identification: don't check source component#9410
BeryJu merged 2 commits intogoauthentik:mainfrom
PythonCoderAS:patch-1

Conversation

@PythonCoderAS
Copy link
Contributor

Details

Closes #9408

The built-in source does not have a component, so attempting to access it throws a NotImplementedError. This causes it to be skipped.


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)

Signed-off-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com>
@PythonCoderAS PythonCoderAS requested a review from a team as a code owner April 25, 2024 03:59
@netlify
Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 5eb372d
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/662a24a638206e0008885b0f

@netlify
Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 5eb372d
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/662a24a682f3ac0008fa3247

Signed-off-by: Jens L. <jens@beryju.org>
@BeryJu BeryJu changed the title Do not include the built-in source in this check stages/identification: don't check source component Apr 25, 2024
@BeryJu
Copy link
Member

BeryJu commented Apr 25, 2024

/cherry-pick version-2024.4

@codecov
Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.12%. Comparing base (80af26e) to head (5eb372d).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #9410       +/-   ##
===========================================
- Coverage   92.42%   52.12%   -40.30%     
===========================================
  Files         668      668               
  Lines       32669    32667        -2     
===========================================
- Hits        30194    17029    -13165     
- Misses       2475    15638    +13163     
Flag Coverage Δ
e2e 50.67% <ø> (-0.01%) ⬇️
integration 26.02% <ø> (+<0.01%) ⬆️
unit ?

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 merged commit 4cc4a3e into goauthentik:main Apr 25, 2024
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Apr 25, 2024
* Do not include the built-in source in this check

Signed-off-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com>

* Update authentik/stages/identification/stage.py

Signed-off-by: Jens L. <jens@beryju.org>

---------

Signed-off-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com>
Signed-off-by: Jens L. <jens@beryju.org>
Co-authored-by: Jens L <jens@beryju.org>
BeryJu added a commit that referenced this pull request Apr 25, 2024
… (#9420)

stages/identification: don't check source component (#9410)

* Do not include the built-in source in this check



* Update authentik/stages/identification/stage.py



---------

Signed-off-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com>
Signed-off-by: Jens L. <jens@beryju.org>
Co-authored-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com>
Co-authored-by: Jens L <jens@beryju.org>
kensternberg-authentik added a commit that referenced this pull request Apr 30, 2024
* main:
  web: clean up some repetitive types (#9241)
  core: fix logic for token expiration (#9426)
  ci: fix ci pipeline (#9427)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in ru (#9424)
  web: Add resolved and integrity fields back to package-lock.json (#9419)
  translate: Updates for file locale/en/LC_MESSAGES/django.po in ru (#9407)
  stages/identification: don't check source component (#9410)
  core: bump selenium from 4.19.0 to 4.20.0 (#9411)
  core: bump black from 24.4.0 to 24.4.1 (#9412)
  ci: bump golangci/golangci-lint-action from 4 to 5 (#9413)
  core: bump goauthentik.io/api/v3 from 3.2024023.2 to 3.2024040.1 (#9414)
  web: bump @sentry/browser from 7.112.1 to 7.112.2 in /web in the sentry group (#9416)
  sources/oauth: ensure all UI sources return a valid source (#9401)
  web: markdown: display markdown even when frontmatter is missing (#9404)
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.

Unable to open the login page

2 participants