Skip to content

Commit

Permalink
Merge pull request #30 from Web3Auth/feat/add-sessionTime-in-web3Auth…
Browse files Browse the repository at this point in the history
…Options

feat: update openlogin version to v6
  • Loading branch information
chaitanyapotti authored Nov 9, 2023
2 parents 8e7740f + 17be1a6 commit 37b0d66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void Start()
}
*/
clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ",
buildEnv = BuildEnv.PRODUCTION,
buildEnv = BuildEnv.TESTING,
redirectUrl = new Uri("torusapp://com.torus.Web3AuthUnity/auth"),
network = Web3Auth.Network.SAPPHIRE_MAINNET,
sessionTime = 86400
Expand Down
2 changes: 1 addition & 1 deletion Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public class LoginParams
public string appState { get; set; }
public MFALevel mfaLevel { get; set; }

public Curve curve { get; set; }
public Curve curve { get; set; } = Curve.SECP256K1;
}
2 changes: 1 addition & 1 deletion Assets/Plugins/Web3AuthSDK/Types/Web3AuthOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public string sdkUrl {
}
set { }
}
public const string openLoginVersion = "v5";
public const string openLoginVersion = "v6";

public WhiteLabelData? whiteLabel { get; set; }
public Dictionary<string, LoginConfigItem>? loginConfig { get; set; }
Expand Down

0 comments on commit 37b0d66

Please sign in to comment.