diff --git a/Assets/SequenceSDK/Authentication/OpenIdAuthenticator.cs b/Assets/SequenceSDK/Authentication/OpenIdAuthenticator.cs
index bf615d51..ad1d56fa 100644
--- a/Assets/SequenceSDK/Authentication/OpenIdAuthenticator.cs
+++ b/Assets/SequenceSDK/Authentication/OpenIdAuthenticator.cs
@@ -24,7 +24,7 @@ public class OpenIdAuthenticator
private string FacebookClientId;
private string AppleClientId;
- private static string RedirectUrl = "https://dev2-api.sequence.app/oauth/callback";
+ private static string RedirectUrl = "https://api.sequence.app/oauth/callback";
private string _stateToken = Guid.NewGuid().ToString();
@@ -34,6 +34,16 @@ public class OpenIdAuthenticator
private static bool _windowsSetup = false;
+ ///
+ /// Use this if you'd prefer to redirect to your own URL for Oauth
+ /// Your server will need to redirect the URL retrieved during the social sign in process to the custom URL scheme you've set in SequenceConfig
+ ///
+ ///
+ public static void InJectRedirectUrl(string redirectUrl)
+ {
+ RedirectUrl = redirectUrl;
+ }
+
public OpenIdAuthenticator(string sessionId)
{
SequenceConfig config = SequenceConfig.GetConfig();
diff --git a/Assets/package.json b/Assets/package.json
index c1869441..f6dc2598 100644
--- a/Assets/package.json
+++ b/Assets/package.json
@@ -1,6 +1,6 @@
{
"name": "xyz.0xsequence.waas-unity",
- "version": "2.4.3",
+ "version": "2.4.4",
"displayName": "Sequence WaaS SDK",
"description": "A Unity SDK for the Sequence WaaS API",
"unity": "2021.3",