Skip to content

Commit

Permalink
Redirect to api.sequence.app not dev2-api.sequence.app (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
BellringerQuinn authored May 14, 2024
1 parent 79ffaeb commit 112a83a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion Assets/SequenceSDK/Authentication/OpenIdAuthenticator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -34,6 +34,16 @@ public class OpenIdAuthenticator

private static bool _windowsSetup = false;

/// <summary>
/// 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
/// </summary>
/// <param name="redirectUrl"></param>
public static void InJectRedirectUrl(string redirectUrl)
{
RedirectUrl = redirectUrl;
}

public OpenIdAuthenticator(string sessionId)
{
SequenceConfig config = SequenceConfig.GetConfig();
Expand Down
2 changes: 1 addition & 1 deletion Assets/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 112a83a

Please sign in to comment.