[librest: 1/2] OAuth2Proxy.fetch_access_token: Provide client secret




commit bdd84322805c697a53c2a8c2d44de842a7c654b7
Author: CodedOre <25259-CodedOre users noreply gitlab gnome org>
Date:   Mon Mar 7 16:54:28 2022 +0000

    OAuth2Proxy.fetch_access_token: Provide client secret

 rest/rest-oauth2-proxy.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/rest/rest-oauth2-proxy.c b/rest/rest-oauth2-proxy.c
index fb66f91..9511f97 100644
--- a/rest/rest-oauth2-proxy.c
+++ b/rest/rest-oauth2-proxy.c
@@ -425,6 +425,7 @@ rest_oauth2_proxy_fetch_access_token_async (RestOAuth2Proxy     *self,
   params = g_hash_table_new (g_str_hash, g_str_equal);
 
   g_hash_table_insert (params, "client_id", priv->client_id);
+  g_hash_table_insert (params, "client_secret", priv->client_secret);
   g_hash_table_insert (params, "grant_type", "authorization_code");
   g_hash_table_insert (params, "code", (gchar *)authorization_code);
   g_hash_table_insert (params, "redirect_uri", priv->redirect_uri);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]