Fix #17644, the registration either should finish properly or not create the user at all - #17646
Fix #17644, the registration either should finish properly or not create the user at all#17646vilmosnagy wants to merge 1 commit into
Conversation
|
Thank you, this is a known issue with far wider reach. I'll get back to this PR after returning from sick leave. |
|
@hmlnarik get well soon! Is there any issue that we could link to? I've searched the GitHub issues but found nothing similar (the only issue with the same stack trace is #16490, but that seems to be irrelevant to this error) We have extended our registration flow with a few extra steps that set a few user attributes on the users (and does a few other required-for-us adjustments). But with this error (and probably other similar issues), a tiny portion of our user base does not have these values set, making our life harder. I've debugged one of these cases, and with the help of the Keycloak events and our HTTP access logs, I was able to re-create this particular case - see the test in this PR. But I think there are different ways to achieve the result of having a user without completing the registration flow. The users' first event in this case was a I'd be grateful if we could solve this - and probably I could backport the fix for older Keycloak versions. There are a few failing tests in GitHub Actions, should I look into them? I wasn't able to reproduce them locally - are they just some flaky tests? Thanks, |
6aaf1c7 to
bf592ec
Compare
4 flaky tests on run #6401 ↗︎Details:
|
|||||||||||||||||||||
| Test | Artifacts | |
|---|---|---|
| Client authentication subtab > Should create a policy |
Output
Screenshots
|
|
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.
… not create the user at all
|
Fixed in #19488 |
Fix #17644
(and a typo which bothers me a bit, sry)