Skip to content

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

@CookieGMVN

Description

@CookieGMVN

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug/confirmedConfirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions