In order to use this demo first of all you need to specify the Loginradius-App. This demo can work for staging, development and Production Environments.
http://rakesh.login4website.com/demo-v2test?server=stag&appName=stag-test&flow=required&apikey=xxxx-xxx-xxxx&apisecret=yyyy-yyy-yyyy
| Name | Type | Description | Required |
|---|---|---|---|
| apiKey | String | Apikey of your LoginRadius site. | Yes |
| appName | String | Set to your LoginRadius site name, this is required for User Registration to work with Single Sign On API. | Yes |
| sott | String | Secure One time Token | Yes for Registration get token by following these steps |
| verificationUrl | URL | Set dynamic URL for email verification | Yes for verify email. |
| resetPasswordUrl | URL | Set dynamic URL for reset password | |
| hashTemplate | Boolean | If Template contains hash (#) | Yes |
| formValidationMessage | Boolean | Set value true if you want to show form validation message just below the form elements. | |
| termsAndConditionHtml | String | This HTML is shown just above the submit button and displays terms and conditions text to user. | |
| formRenderDelay | Int | Set the delay in milliseconds before rendering the User Registration interface. | |
| passwordLength | Object | Set password length, object must be in form {min : 10, max :32} | Recommend |
| loginOnEmailVerification | Boolean | Log user in after the verification link is clicked in the verification email. | Recommend |
| promptPasswordOnSocialLogin | Boolean | After authentication for social login, it will prompt a password filling interface. By filling it, user is also going to generate a traditional account besides his/her social account. | No |
| usernameLogin | Boolean | Enable users to log in with either username or email. | No |
| forgotPasswordTemplate | String | Forgot password template name | No |
| verificationEmailTemplate | String | Email verification template name. this will use in registration and resend email verification event. | No |
| resetPasswordEmailTemplate | String | Reset Password Template | No |
| smsTemplate | String | SMS template name | No |
| smsTemplateOneTimePassCode | String | OTP Login SMS template name | Yes |
| smsTemplatePhoneVerification | String | Phone Number Verification Template Name | No |
| phoneLogin | Boolean | To enable phone number login. Note: This option also has to be enabled by LoginRadius support from backend | No |
| twoFactorAuthentication | Boolean | An Extra Layer of Security Enable multi-factor authentication as mandatory for your customers. Note: This option also has to be enabled by LoginRadius support from backend | No |
| optionalTwoFactorAuthentication | Boolean | An Extra Layer of Security Enable multi-factor authentication as mandatory for your customers. Note: This option also has to be enabled by LoginRadius support from backend | No |
| googleAuthentication | Boolean | Enable google Authenticator Code | No |
| smsTemplate2FA | String | SMS template for Two-factor Authentication | No |
| existPhoneNumber | Boolean | this option check in LoginRadius Database that phone number exist or not. | No |
| instantLinkLogin | Boolean | To initiate one click login. Note: This option also has to be enabled by LoginRadius support from backend | No |
| instantOTPLogin | Boolean | To initiate one click OTP login when phone number login enabled at your site. Note: This option also has to be enabled by LoginRadius support from backend | No |
| askEmailForUnverifiedProfileAlways | Boolean | Every time an unverified user with social account which doesn't provide email (social login user(twitter,vk) ) tries to login, it would ask for new email address. | No |
| disabledEmailVerification | Boolean | Enabling this property would allow the user to login without verifying email Id and no email would be sent to the user. Note: This options also has to be enabled by LoginRadius support from backend | No |
| optionalEmailVerification | Boolean | Enabling this property would allow the user to login without verifying email Id and the user would also get a verification email. Note: This options also has to be enabled by LoginRadius support from backend | No |
| deleteUrl | URL | Url, where you handle Delete user functionality. | |
| unLinkAccountCallbackUrl | Encoded URL | When you unlink the account from account linking interface. At that time, you can add unlink callback URL. | |
| stayLogin | Boolean | Enabling this property would allow the users to check 'keep me sign in' options Note: This options also has to be enabled by LoginRadius support from backend | No |
| askRequiredFieldForTraditionalLogin | Boolean | Enabling this property would prompt an interface of required fields for a traditional legacy or old user account if the registration schema has changed. | No |
| displayPasswordStrength | Boolean | To enable password strength | No |
| callbackInsideSameWindow | Boolean | Redirect user inside the child window(pop-up window) on successful login when set to true, Default is false | No |
| accessTokenResponse | Boolean | If set to true it will not post a token to your callback page, rather it will pass the token through HTML5 postMessage to your current page and must be handled with the LoginRadius HTML5 SDK, Default value is false | No |
| callbackUrl | Encoded URL | LoginRadius redirects the user to this URL with token in the Post body, default value is located on your LoginRadius dashboard | No |
| callbackType | String | For determining the method used to return the token to the user. Available options are "Post", "QueryString" and "Hash". It is set to "Post" by default. | No |
| debugMode | Boolean | Show console log | No |
| appPath | String | Location where cookie set | No |
| tokenExpire | Boolean | True to expire token | No |
| customObjectName | String | For Custom Object APIs | Yes for custom object APIs |
| providerCountry | String | For filtering social providers based on country | No |
| providersList | Array | To show only provided list of social providers | No |
| autoLoginPingCount | Number | Total number of ping requests made by client before it expires. | No |
| autoLoginPingInterval | Number | Time interval between each ping request in seconds | No |