Skip to content

Commit

Permalink
start working on the issue #18
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpe committed Dec 2, 2018
1 parent 857a4f4 commit c9506cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions userMng/pages/administrace/user_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,13 @@

<script type="text/javascript">

function onSignIn(googleUser) {
//var profile2 = googleUser.getBasicProfile();
//if (auth2.isSignedIn.get()) {

var profile = auth2.currentUser.get().getBasicProfile();
console.log('ID: ' + profile.getId());
console.log('Full Name: ' + profile.getName());
console.log('Given Name: ' + profile.getGivenName());
console.log('Family Name: ' + profile.getFamilyName());
console.log('Image URL: ' + profile.getImageUrl());
console.log('Email: ' + profile.getEmail());
var id_token = googleUser.getAuthResponse().id_token;
console.log("ID Token: " + id_token);

}

this.onSignIn();

</script>

<div class="row">
{% include 'nav_sidebar.html' %}

<div class="col-md-10">

<div class="col-md-9">
<img src="..." alt="..." class="rounded">
</div>

</div>
Expand Down
Empty file.

0 comments on commit c9506cd

Please sign in to comment.