authentik
authentik copied to clipboard
Property Mapping Test Closes Immediately
Issue: When attempting to test a property mapping to ensure the result is correct, the test window will pop up, allow you to set the username, group, and context, but the moment you click test, it will run, quickly(for about a second or less) show the response, then disappear with "Successfully sent test-request".
Steps to reproduce:
- Go to Property Mappings
- Create new property mapping
- Click "test" from the actions on the row
- Click "test" on the popup
- See error
Expected behavior: Clicking test will present the results and the window will remain open
Deployment details:
- authentik version: 2025.4
- Deployment: docker-compose
Logs:
- No errors in Console for Chrome and Edge
- No errors in Server or Worker containers for docker
It's as if there is an event triggering in the UI that is like clicking on another area of the page or that the test button is attempting to trigger a submit form request.
Hi, thanks for opening this issue @gdeeble Just to make sure I understand the scope of this issue, could you please provide additional details such as the type of property mapping created and the expression used. Thanks
@dominic-r - Hey Hey! It was a web hook mapping for Discord, but I even checked my "LDAP mapping" for testing which just adds a few LDAP attributes to my user and it does the same. It's not actually an error.. I realize I put see error (force of habit working in a UAT/TQA role for so many years), but it's actually just see the behavior. You can see for a split second the results line up exactly as they should be the popup immediately closes. It's like I clicked off the window after pressing test.
Here is my LDAP expression as the webhook doesn't seem to be right(trying blindly haha) and this one I know is right as it was working in 2025.4.2(previous version)
return { "attributes": { "telephone_number": ldap.get("telephoneNumber"), "employee_id": ldap.get("employeeID"), "department": ldap.get("department"), "title": ldap.get("title"), "wireless_vlan": ldap.get("msDS-cloudExtensionAttribute1") } }
Cheers!
I too am seeing this, and its pretty inconvenient. I have had to resort to taking a video as I click the button to test it in order to see the result. It seems like everything there is working other than it is closing right away. It does not seem to matter that property mapping you do it on. Built in ones, or custom ones. They all do this.
Hi,
I have the exact same issue when using a RAC Property Mapping with only the following content :
return {"username": "bla", "password": "bla"}
Cheers,
Temporary workaround:
- Use browser devtools to record network traffic, filter for
Fetch/XHR - Use test dialog in authentik admin as usual
- open
test/request, there is the dialog data in json
Confirmed, issue is still present in version 2025.8.0.
I have the same issue running 2025.8.3
If someone wanted to donate to get this issue expedited what would be this process?