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

Custom Captcha is at the bottom of the page #9045

Closed
deadlysnek opened this issue Mar 27, 2024 · 2 comments · Fixed by #9256
Closed

Custom Captcha is at the bottom of the page #9045

deadlysnek opened this issue Mar 27, 2024 · 2 comments · Fixed by #9256
Assignees
Labels
bug/confirmed Confirmed bugs bug Something isn't working

Comments

@deadlysnek
Copy link

Describe the bug
Cloudflare Turnstile is at the bottom of the page, requiring the user to scroll down.

To Reproduce
Steps to reproduce the behavior:

  1. Add a Captcha stage to the login flow
  2. Attempt to login

Expected behavior
The Captcha should be displayed in the same location as the username / password fields.

Screenshots
image-4

Logs
N/A

Version and Deployment:

  • authentik version: 2024.2
  • Deployment: docker compose
@deadlysnek deadlysnek added the bug Something isn't working label Mar 27, 2024
@BeryJu BeryJu added the bug/confirmed Confirmed bugs label Mar 27, 2024
@BeryJu BeryJu self-assigned this Mar 27, 2024
@BeryJu BeryJu changed the title Captcha is at the bottom of the page Custom Captcha is at the bottom of the page Mar 27, 2024
@franciscomfcmaia
Copy link

Did you find a solution for this?

@BeryJu
Copy link
Member

BeryJu commented Apr 14, 2024

While looking into fixing this, there's an issue with the Turnstile script not support shadow dom, which is what we're using for our frontend. Hence it's not possible to render the challenge within the login box.

For other captchas this can be worked around by rendering them with the "invisible" option, which can be passed as a rendering option for other captchas, however for turnstile this has to be configured in the cloudflare admin dashboard

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.

3 participants