Commit ad00c219 authored by Günther Wagner's avatar Günther Wagner
Browse files

Merge branch 'client_secret_on_access_token_fetch' into 'master'

OAuth2Proxy.fetch_access_token: Provide client secret

See merge request !20
parents 70ae4fac bdd84322
Pipeline #374589 passed with stages
in 4 minutes and 40 seconds
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment