From 6e3e2d8b93b5649db7a4c46cc1ef57333a5e00a2 Mon Sep 17 00:00:00 2001 From: rafek Date: Fri, 23 Feb 2024 00:46:36 +0100 Subject: [PATCH] GitHubOIDCProvider response link fix - missing ampersand. --- .../Scripts/OIDC Providers/Git Hub/GitHubOIDCProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/i5 Toolkit for Unity/Runtime/OpenID Connect/Scripts/OIDC Providers/Git Hub/GitHubOIDCProvider.cs b/Assets/i5 Toolkit for Unity/Runtime/OpenID Connect/Scripts/OIDC Providers/Git Hub/GitHubOIDCProvider.cs index 4cfa3983..9209dbc8 100644 --- a/Assets/i5 Toolkit for Unity/Runtime/OpenID Connect/Scripts/OIDC Providers/Git Hub/GitHubOIDCProvider.cs +++ b/Assets/i5 Toolkit for Unity/Runtime/OpenID Connect/Scripts/OIDC Providers/Git Hub/GitHubOIDCProvider.cs @@ -104,7 +104,7 @@ public override void OpenLoginPage(string[] scopes, string redirectUri) string responseType = AuthorizationFlow == AuthorizationFlow.AUTHORIZATION_CODE ? "code" : "token"; string uriScopes = UriUtils.WordArrayToSpaceEscapedString(scopes); - string uri = authorizationEndpoint + $"?client_id={ClientData.ClientId}&redirect_uri={redirectUri}" + $"response_type={responseType}&scope={uriScopes}"; + string uri = authorizationEndpoint + $"?client_id={ClientData.ClientId}&redirect_uri={redirectUri}" + $"&response_type={responseType}&scope={uriScopes}"; Browser.OpenURL(uri); } }