Skip to content

Commit

Permalink
Merge pull request #14 from chrisguitarguy/bug/gplus_id_token
Browse files Browse the repository at this point in the history
Use `id_token` in the Google Plus Auth Examples
  • Loading branch information
omab committed Apr 19, 2017
2 parents e8f3157 + 4c2cf3d commit fd417d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/backends/google.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ auth process.
$form.attr("action", "/complete/google-plus");
$form.attr("method", "post");
$input = $("<input>");
$input.attr("name", "access_token");
$input.attr("value", authResponse.access_token);
$input.attr("name", "id_token");
$input.attr("value", authResponse.id_token);
$form.append($input);
// Add csrf-token if needed
$(document.body).append($form);
Expand Down

0 comments on commit fd417d0

Please sign in to comment.