Skip to content
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 Date prompt type in enrollment flow. #8708

Closed
CookieGMVN opened this issue Feb 27, 2024 · 2 comments · Fixed by #8926
Closed

Unable to use Date prompt type in enrollment flow. #8708

CookieGMVN opened this issue Feb 27, 2024 · 2 comments · Fixed by #8926
Labels
bug/confirmed Confirmed bugs bug Something isn't working

Comments

@CookieGMVN
Copy link

CookieGMVN commented Feb 27, 2024

Describe the bug
I wanted to add a Date prompt in the enrollment flow, asking the user to provide their birthdate (attributes.birthday), just for verification purpose. But, after I added it to the flow and bind the prompt to a stage, when user filled their birthdate info in and click "Continue", authentik returned with the error "Request has been denied. Failed to update user. Please try again later.".

To Reproduce
Steps to reproduce the behavior:

  1. Create a new prompt with Date format.
  2. Bind that prompt to a prompt stage in an enrollment flow.
  3. Go to the enrollment flow and fill all the information.
  4. See error.

Expected behavior
The user will be written to authentik, and the verification email should be sent to the user.

Screenshots
image
image
image
image

Logs
From Server:

{"auth_via": "unauthenticated", "domain_url": "domain", "event": "/api/v3/flows/executor/nzid-register/?query=next%3D%252F", "host": "domain", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 44, "remote": "x.x.x.x", "request_id": "94ca682b026941abaa8b853b09380512", "runtime": 610, "schema_name": "public", "scheme": "https", "status": 200, "timestamp": "2024-02-27T18:41:10.517363", "user": "", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"}

I can't find the logs from worker (LOG_LEVEL already TRACE). Will send the logs asap.

Version and Deployment (please complete the following information):

  • authentik version: 2024.2.1
  • Deployment: docker-compose

Additional context
I tested the flow using Text type. It worked, but I still want client to render a date picker to user for easier input.

@CookieGMVN CookieGMVN added the bug Something isn't working label Feb 27, 2024
@BeryJu BeryJu added the bug/confirmed Confirmed bugs label Mar 15, 2024
@balderekjk
Copy link

balderekjk commented May 18, 2024

This issue is still present, for me at least (version 2024.4.2).

@mrbreil
Copy link

mrbreil commented May 23, 2024

I've been trying to build an invitation flow for a week now. It just wouldn't work. I always thought my policies were configured incorrectly, but no, it was because of the birthday field. In short: I have the same bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/confirmed Confirmed bugs bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants