-
-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use User Enrollment Portals or Password Self Resets #5199
Comments
Seems almost like the front end doesn't have write permission on the database? Not sure what could cause this... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Having the same issue, also see @war3zlod3r 's discussion of same issue on discord: @war3zlod3r did you have any luck with this? Did downgrading authentik to |
I've been able to isolate the fault a little more Imagine we have a flow with a prompt stage that does "everything" ie first-prompt-stage:
type: prompt
fields:
- Username
- Name
- Email
- Password
- Repeat Password
user-write-stage:
type: user-write Our client would hang on submitting the prompt and going to the next stage. Initially I wondered if this was due to an issue with the next stage (User write), so I added a stage before that to confirm, but the behaviour persisted. first-prompt-stage:
type: prompt
fields:
- Username
- Name
- Email
- Password
- Repeat Password
# still hangs on first-prompt-stage
dummy-consent-stage:
type: consent
user-write-stage:
type: user-write Because I was only observing this behaviour on usename + pword enrolment, as well as password reset, (but not on SSO enrolment which doesn't have a password prompt stage), I hypothesized it's due to the password prompt fields, so I separated them out into their own stage first-prompt-stage:
type: prompt
fields:
- Username
- Name
- Email
# No longer hangs on first-prompt-stage, now hangs after second prompt-stage
second-prompt-stage:
type: prompt
fields:
- Password
- Repeat Password
user-write-stage:
type: user-write This caused the hang to occur only on the stage with the passwords. Having done that, I then took note of #6019 , which attributes a similar bug to LDAP Source writeback. By following the steps of #6019 , and disabling LDAP source writeback, I no longer experience hangs on password prompts. |
Thanks for finding that resolution! I’ll give it a try when my environment is available again. I had given up on ever getting a resolution! |
@war3zlod3r looks like #5927 should fix it, so you should be able to re-enable password writeback by next patch release or monthly release maybe (not sure whether they backport non-security related bugfixes) Personally disabling it didn't cost me anything, as I actually stopped using LDAP as a primary source, since Authentik can act as an LDAP provider |
Describe the bug
Unable to create new users via enrollment link or enrollment page or self reset passwords, the page just hangs up after submitting and doesn't go further but shows the spinning wheel.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To be able to enroll or self reset passwords.
Screenshots
https://media.discordapp.net/attachments/1093584727946051664/1093585046209843263/image.png
https://cdn.discordapp.com/attachments/1093584727946051664/1093584728076079185/image.png
Version and Deployment (please complete the following information):
Additional context
I've also noticed the fields on the enrollment page appear to be duplicated somehow see second screenshot.
The text was updated successfully, but these errors were encountered: