-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Describe the bug
After updating to 2024.4.0 there is no login fields shown as the page immediately renders to the "Something went wrong! Please try again later." error message.
To Reproduce
Steps to reproduce the behavior:
- Have Apple OAuth source enabled in default-authentication-identification
- Go to URL (local or via reverse proxy address) for Authentik site
- See error
- Disable Apple OAuth source in default-authentication-identification
- Error is gone (Google OAuth remains enabled and works)
Expected behavior
To see the usual login screen for Authentik
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Stacktrace from authentik
Traceback (most recent call last):
File "/authentik/flows/views/executor.py", line 290, in get
stage_response = self.current_stage_view.dispatch(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ak-root/venv/lib/python3.12/site-packages/django/views/generic/base.py", line 143, in dispatch
return handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/authentik/flows/stage.py", line 95, in get
challenge = self._get_challenge(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/authentik/flows/stage.py", line 172, in _get_challenge
challenge = self.get_challenge(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/authentik/stages/identification/stage.py", line 243, in get_challenge
source_challenge.is_valid()
File "/ak-root/venv/lib/python3.12/site-packages/rest_framework/serializers.py", line 220, in is_valid
assert hasattr(self, 'initial_data'), (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
builtins.AssertionError: Cannot call `.is_valid()` as no `data=` keyword argument was passed when instantiating the serializer instance.
Version and Deployment (please complete the following information):
- authentik version: 2024.4.0
- Deployment: [docker-compose (MacOS Docker Desktop)]
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels