goauthentik / goauthentik/authentik

Opening "Edit binding" does not pre-select correct type + opening 3rd time causes endless loading

Open
#19,140 1 comment 0 reactions 0 assignees View on GitHub
bug bug/confirmed
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
659

Description

### Describe the bug

Two issues which might be related:

1. When clicking on "Edit binding", the binding popup comes up. Then the correct pre-selection is missing. Doing it again, it is there:
![Image](https://github.com/user-attachments/assets/fa6f0c7b-1cde-49fe-9fec-d25cca71ec34)

2. Opening the same menu a 3rd time, the dialog window locks up/loads endlessly until full page reload:
![Image](https://github.com/user-attachments/assets/518d43e5-5911-47c4-876d-7f36d0481d97)

Seems to occur on any menus where this is implemented.

### How to reproduce

1. Load the page
2. Go to "Policy/Group/User Bindings"
3. Click "Edit binding" on any item
4. Type pre-selection is wrong
5. Closing it
6. Re-opening and the type is correct
7. Re-opening 3rd time, makes it load forever and break it

### Expected behavior

The pre-selection being correct on first click / no break on opening for 3rd time.

### Screenshots

_No response_

### Additional context

_No response_

### Deployment Method

Docker

### Version

2025.10.3 + 2025.12.0-rc2 (clean test install)

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.