Page History

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Additionally, users are able to update their password, and if your site has TFA enabled, users may edit the phone number they receive verification codes to. The screens that pertain to these flows are below.



Phone number change when TFA is enabled.


Link Accounts Flow



The re-authentication process succeeds if the credentials entered are correct and represent an identity associated with the user on the site.
If a user successfully enters credentials of a user identity that is not associated with the user, re-authentication will fail.
In any case, the user will not be logged out as a result of a failed re-authentication.

Handling the Result

In order to know whether the re-authentication process succeeded, developers have a couple of options:

  1. Register to the onHide event callback when calling account.showScreenSet.


    Code Block
    //Function that handles the re-authentication result
    function handleResult(eventObj) {
        if (eventObj.reason == "finished"){
            alert ("Re-Authentication successful!");
        else if (eventObj.reason == "canceled"){
            alert ("Re-Authentication failed :(");
    // Load screen-set
    var params={
        screenSet: "Default-ReAuthentication",
  2. Listen to the global onLogin event and check the loginMode parameter to see whether this was a re-authentication. This is done using the socialize.addEventListener function.

    Code Block
    function isReAuth(eventObj) {
        if (eventObj.loginMode == "reAuth"){
            alert("User has re-authenticated!");

Forgot Password Flow

The forgot password flow is initiated by the user, when he clicks the "Forgot Password" link on one of the screens that includes this link. Alternatively, you may initiate this flow by calling:

Code Block

This displays the forgot password screen. The rest of the flow depends on user interaction. 

When the user submits the Forgot Password form, we send a Password reset email to the user. The email includes a URL link to a page where the password can be reset. The default URL is: https://<your CNAME>/newPassword (a default change password page provided by Gigya).

The easiest and recommended best practice, however, is to use the RaaS Reset Password screen of Gigya's Screen-Sets. For instructions on implementing the Reset Password screen see Email Templates and editing the default URL to the page hosting your Reset Password screen.

Include Page

/* border: none !important; */
var fixExternalAnchors;
function killFixExternalAnchors() {
fixExternalAnchors = setInterval(function(){  
	lssdk.fixAnchors(); // This is the fix
    if (lssdk.css.domArrays.lastRun.length > 0) {
		killFixExternalAnchors(); // This turns off the interval so it doesn't continue to run in the background.
SEO Metadata

Gigya provides registration, login and other flows out of the box, which cover the wide majority of scenarios encountered when consumers log in to your site. These flows are known as Screen-Sets.