Configure auto-fetching to verify a challenge #1

Open
opened 2025-11-25 12:16:01 -06:00 by zoeissleeping · 0 comments

Currently, we fetch a pre-defined API route when a challenge is solved to verify its validity, we should make this configurable, and set the default to false, and when the challenge is solved, just assume its solved, but if its configured to check, ensure that the fetch completes with 2XX. This allows for users to use Impost in forms and not have the possibility that a challenge may be invalidated because we already verified it, or for users who dont have a verify endpoint, and instead solely rely on libimpost.

Currently, we fetch a pre-defined API route when a challenge is solved to verify its validity, we should make this configurable, and set the default to false, and when the challenge is solved, just assume its solved, but if its configured to check, ensure that the fetch completes with 2XX. This allows for users to use Impost in forms and not have the possibility that a challenge may be invalidated because we already verified it, or for users who dont have a verify endpoint, and instead solely rely on libimpost.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zoeissleeping/impost#1
No description provided.