Skip to content

website/integrations: SharePoint Server SE: cleanup - #23335

Merged
dewi-tik merged 3 commits into
mainfrom
sdko/integrcleanup/sharepoint-se
Jun 25, 2026
Merged

dewi-tik merged 3 commits into
mainfrom
sdko/integrcleanup/sharepoint-se

Conversation

@dominic-r

Copy link
Copy Markdown
Member

Effort: Integration Cleanup 2026-05. See #team-docs for more information and tracking spreadsheet.

Tracked in #23090

@dominic-r
dominic-r requested a review from a team as a code owner June 23, 2026 21:09
@dominic-r dominic-r added the area:docs Features or issues related to Docusaurus label Jun 23, 2026
@dominic-r dominic-r self-assigned this Jun 23, 2026
@netlify

netlify Bot commented Jun 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit fb3c9a7
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a3d50d319c8b600083a0394
😎 Deploy Preview https://deploy-preview-23335--authentik-integrations.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 project configuration.

@netlify

netlify Bot commented Jun 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit fb3c9a7
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a3d50d3181b5e0008d5fa99
😎 Deploy Preview https://deploy-preview-23335--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 project configuration.

@codecov

codecov Bot commented Jun 23, 2026 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3604 1 3603 1
View the top 1 failed test(s) by shortest run time
authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests::test_bad_code_then_correct_code_is_still_blocked
Stack Traces | 3.7s run time
self = <unittest.case._Outcome object at 0x7f6a65e31a90>
test_case = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
subTest = False

    @contextlib.contextmanager
    def testPartExecutor(self, test_case, subTest=False):
        old_success = self.success
        self.success = True
        try:
>           yield

.../hostedtoolcache/Python/3.14.6.............../x64/lib/python3.14/unittest/case.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
result = <TestCaseFunction test_bad_code_then_correct_code_is_still_blocked>

    def run(self, result=None):
        if result is None:
            result = self.defaultTestResult()
            startTestRun = getattr(result, 'startTestRun', None)
            stopTestRun = getattr(result, 'stopTestRun', None)
            if startTestRun is not None:
                startTestRun()
        else:
            stopTestRun = None
    
        result.startTest(self)
        try:
            testMethod = getattr(self, self._testMethodName)
            if (getattr(self.__class__, "__unittest_skip__", False) or
                getattr(testMethod, "__unittest_skip__", False)):
                # If the class or method was skipped.
                skip_why = (getattr(self.__class__, '__unittest_skip_why__', '')
                            or getattr(testMethod, '__unittest_skip_why__', ''))
                _addSkip(result, self, skip_why)
                return result
    
            expecting_failure = (
                getattr(self, "__unittest_expecting_failure__", False) or
                getattr(testMethod, "__unittest_expecting_failure__", False)
            )
            outcome = _Outcome(result)
            start_time = time.perf_counter()
            try:
                self._outcome = outcome
    
                with outcome.testPartExecutor(self):
                    self._callSetUp()
                if outcome.success:
                    outcome.expecting_failure = expecting_failure
                    with outcome.testPartExecutor(self):
>                       self._callTestMethod(testMethod)

.../hostedtoolcache/Python/3.14.6.............../x64/lib/python3.14/unittest/case.py:669: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
method = <bound method ValidateStageThrottlingFlowTests.test_bad_code_then_correct_code_is_still_blocked of <authentik.stages.a...te.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>>

    def _callTestMethod(self, method):
>       result = method()
                 ^^^^^^^^

.../hostedtoolcache/Python/3.14.6.............../x64/lib/python3.14/unittest/case.py:615: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>

    def test_bad_code_then_correct_code_is_still_blocked(self):
        """After a bad code over HTTP, a subsequent correct code is still rejected
        because the lockout persists in the database."""
        device = EmailDevice.objects.create(
            user=self.user,
            confirmed=True,
            stage=self.email_stage,
            email="[email protected]",
        )
        self._identify()
        self._select_email(device)
        # Server generated and stored the token - grab it from DB.
        device.refresh_from_db()
        token = device.token
        # First attempt: bad code - must increment the DB counter.
        self.client.post(
            reverse("authentik_api:flow-executor", kwargs={"flow_slug": self.flow.slug}),
            {"component": "ak-stage-authenticator-validate", "code": "000000"},
        )
        device.refresh_from_db()
        self.assertEqual(device.throttling_failure_count, 1)
        self.assertEqual(device.token, token)
        # Second attempt with the correct token - still blocked.
        response = self.client.post(
            reverse("authentik_api:flow-executor", kwargs={"flow_slug": self.flow.slug}),
            {"component": "ak-stage-authenticator-validate", "code": token},
        )
>       self.assertStageResponse(
            response,
            flow=self.flow,
            component="ak-stage-authenticator-validate",
        )

.../authenticator_validate/tests/test_throttling.py:238: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
response = <HttpChallengeResponse status_code=200, "application/json">
flow = <Flow: Flow WZJgot6Tec (wzjgot6tec)>, user = None
kwargs = {'component': 'ak-stage-authenticator-validate'}

    def assertStageResponse(
        self,
        response: HttpResponse,
        flow: Flow | None = None,
        user: User | None = None,
        **kwargs,
    ) -> dict[str, Any]:
        """Assert various attributes of a stage response"""
        self.assertEqual(response.status_code, 200)
        raw_response = loads(response.content.decode())
        self.assertIsNotNone(raw_response["component"])
        if flow:
>           self.assertIn("flow_info", raw_response)

.../flows/tests/__init__.py:34: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
member = 'flow_info', container = {'component': 'xak-flow-redirect', 'to': '/'}
msg = None

    def assertIn(self, member, container, msg=None):
        """Just like self.assertTrue(a in b), but with a nicer default message."""
        if member not in container:
            standardMsg = '%s not found in %s' % (safe_repr(member),
                                                  safe_repr(container))
>           self.fail(self._formatMessage(msg, standardMsg))

.../hostedtoolcache/Python/3.14.6.............../x64/lib/python3.14/unittest/case.py:1192: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.stages.authenticator_validate.tests.test_throttling.ValidateStageThrottlingFlowTests testMethod=test_bad_code_then_correct_code_is_still_blocked>
msg = "'flow_info' not found in {'component': 'xak-flow-redirect', 'to': '/'}"

    def fail(self, msg=None):
        """Fail immediately, with the given message."""
>       raise self.failureException(msg)
E       AssertionError: 'flow_info' not found in {'component': 'xak-flow-redirect', 'to': '/'}

.../hostedtoolcache/Python/3.14.6.............../x64/lib/python3.14/unittest/case.py:750: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jun 25, 2026
@dewi-tik
dewi-tik enabled auto-merge (squash) June 25, 2026 16:01
@dewi-tik
dewi-tik merged commit d789261 into main Jun 25, 2026
109 checks passed
@dewi-tik
dewi-tik deleted the sdko/integrcleanup/sharepoint-se branch June 25, 2026 16:43
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jun 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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-fb3c9a79160514568f9a559ebff1cdfb3a1654bd
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-fb3c9a79160514568f9a559ebff1cdfb3a1654bd

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

kensternberg-authentik added a commit that referenced this pull request Jun 25, 2026
* main: (27 commits)
  website/integrations: Planka: cleanup (#23332)
  website/integrations: SharePoint Server SE: cleanup (#23335)
  core: run debugpy within worker process so it's DAP-attachable again (#23401)
  core, web: update translations (#23373)
  core: bump library/golang from `bbf22dd` to `76a2924` in /lifecycle/container (#23380)
  core: bump library/node from `191ef87` to `f9b8bd6` in /lifecycle/container (#23378)
  core: bump library/nginx from `42f2d24` to `ec4ed8b` in /website (#23382)
  core: bump library/node from `3c05c2c` to `15797fb` in /website (#23383)
  core: bump goauthentik/fips-python from `c54ab1b` to `fe20a68` in /lifecycle/container (#23379)
  website/docs: fix 2026.5 release notes mentioning docker-compose.yml (#23385)
  website/docs: fix 2026.2 release notes docker compose mention take 2 (#23388)
  website/docs: clean up source docs (#23374)
  website/api: debug build issues (#23392)
  core: preserve encoded avatar URLs (#23225)
  website/integrations: add ExcaliDash integration (#23375)
  website/docs: sources: remove support_level labels from docs (#23389)
  website/integrations: Zabbix: cleanup (#23271)
  fix release notes docker compose mention (#23386)
  core: bump goauthentik/fips-debian and fips-python in /lifecycle/container (#23362)
  root: Fix SECURITY.md versions (#23370)
  ...
kensternberg-authentik added a commit that referenced this pull request Jun 25, 2026
* web/css/enabling-layers: (27 commits)
  website/integrations: Planka: cleanup (#23332)
  website/integrations: SharePoint Server SE: cleanup (#23335)
  core: run debugpy within worker process so it's DAP-attachable again (#23401)
  core, web: update translations (#23373)
  core: bump library/golang from `bbf22dd` to `76a2924` in /lifecycle/container (#23380)
  core: bump library/node from `191ef87` to `f9b8bd6` in /lifecycle/container (#23378)
  core: bump library/nginx from `42f2d24` to `ec4ed8b` in /website (#23382)
  core: bump library/node from `3c05c2c` to `15797fb` in /website (#23383)
  core: bump goauthentik/fips-python from `c54ab1b` to `fe20a68` in /lifecycle/container (#23379)
  website/docs: fix 2026.5 release notes mentioning docker-compose.yml (#23385)
  website/docs: fix 2026.2 release notes docker compose mention take 2 (#23388)
  website/docs: clean up source docs (#23374)
  website/api: debug build issues (#23392)
  core: preserve encoded avatar URLs (#23225)
  website/integrations: add ExcaliDash integration (#23375)
  website/docs: sources: remove support_level labels from docs (#23389)
  website/integrations: Zabbix: cleanup (#23271)
  fix release notes docker compose mention (#23386)
  core: bump goauthentik/fips-debian and fips-python in /lifecycle/container (#23362)
  root: Fix SECURITY.md versions (#23370)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants