Login with Google OAuth api and return url with variable
Posted
by
user2833721
on Stack Overflow
See other posts from Stack Overflow
or by user2833721
Published on 2013-10-26T13:02:35Z
Indexed on
2013/10/26
15:54 UTC
Read the original article
Hit count: 159
I am using the Google API for login in my site and I appending my variable with URL and I want that variable in the return URL of OAuth API because of update purpose can I return back that variable
For example:
<a href="<?php echo($authUrl); ?>&kicker">
I append the kicker in $authUrl and when I return back from Oauth api
print $me['displayName'];
print $user['email'];
print $me['gender'];
print $me['id'];
with this output I also want my variable "kicker" how can I get it
© Stack Overflow or respective owner