Bypass a Sign-up Form for Certain Users
Dec 19, 2025
Overview
This article clarifies how to configure an application's authentication flow to bypass a sign-up form for specific users.
Applies To
- Forms
- Action
Solution
Configure the authentication pipeline to skip the sign-up form.
-
Place the following code into the
exports.onContinuePostLoginhandler:
const EXCLUDED_APP_CLIENT_ID = event.secrets.EXCLUDEDCLIENTID;
if (event.client.client_id === EXCLUDEDCLIENTID) {
console.log(`Skipping form for user from excluded application: ${event.client.name}`);
return;
}
- After the code is applied, the user bypasses the normal login flow form and proceeds directly to the next stage of the authentication pipeline. The system issues tokens and redirects the user back to the excluded application.