Passing Additional Parameters to Custom Database Action Scripts

Problem statement

Is it possible to pass extra information to the Custom DB Action scripts? For example, is it possible to send a parameter in addition to ‘email’ and ‘password’ to the Login script?

Solution

Each Custom DB Action script has one or more parameters required to function; for example, the ‘email’ and ‘password’ in the case of the Login script. No additional parameters can be passed to these scripts, so it is not possible to access a unique URL in the scripts. The idea is that the scripts would get only the essential parameters, and other information should not impact the login.

The one exception is if you use Organizations. In that case, it’s possible to pass what ‘organization’ the user is logging in with to the Action scripts as described in Custom database support for Organizations.

1 Like