SpoonX / aurelia-authentication

Authentication plugin for aurelia.
http://aurelia-authentication.spoonx.org
MIT License
90 stars 60 forks source link

How Retrieve User Data From Payload? #405

Closed ballonura closed 3 years ago

ballonura commented 5 years ago

Have to following Google response: { "clientId": "*****.apps.googleusercontent.com", "redirectUri": "http://localhost:8080", "state": "*", "code": "4/vgBz4t4ki3SWifSxdzkGFVzbWr6gwI7wdkg7YqdT5MYYvP3SILFsufCi3Aquv7BsfGH37rxaQEtx5s0ywcGZECw", "scope": "openid email profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/userinfo.profile", "authuser": "0", "hd": "*****", "session_state": "f20a82e43c6f76d08d433f581525a55282dce4b8..cb45", "prompt": "none" }

How can i get from it the user info ? what meaning "code" ?