I'm a moron and can't figure out what to put in the $redirectUri
field
#2505
Replies: 3 comments 13 replies
-
|
Beta Was this translation helpful? Give feedback.
-
If there's an error it might be appearing in the PHP log output, or enable error output with |
Beta Was this translation helpful? Give feedback.
-
As soon as you have ‘allowed’ Google to provide an access token, Google will link back to your redirectURI (which is the full URI of get_access_token). If this is not https, Google will probably bounce the connection and leave Firefox hanging. |
Beta Was this translation helpful? Give feedback.
-
Ok, so I've been trying to make a contact form, and at the moment I'm at this point, at the bottom. I can't figure out what I need to put in the
$redirectUri
fieldAs far as I've figured, it needs to:
a) have a protocol (https / http)
b) can't be a public IP address
c) needs to points to a script that does what
get_oauth_token.php
does.But what exactly do I need to put there?
http://localhost/phpmailer/get_oauth_token.php
doesn't work (I hoped it would tbh), and any other variation of the above has the same result.What worked on you? What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions