Skip to content

Commit 155c22e

Browse files
authored
Update the comments in AuthenticateInWebApplication.
The example dynamically assigns a port number instead of requiring the user to set one manually.
1 parent 48c4c96 commit 155c22e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

google-ads-examples/src/main/java/com/google/ads/googleads/examples/authentication/AuthenticateInWebApplication.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@
4848
* flow.
4949
*
5050
* <p>This example will start a basic server that listens for requests at {@code
51-
* http://localhost:PORT}, where {@code PORT} is the port specified in {@link #main(String[])}. See
52-
* the comments in {@link #main(String[])} for details.
51+
* http://localhost:PORT}, where {@code PORT} is dynamically assigned.
52+
*
53+
* <p>IMPORTANT: You must add {@code http://localhost/oauth2callback} to the "Authorize redirect
54+
* URIs" list in your Google Cloud Console project before running this example.
5355
*/
5456
public class AuthenticateInWebApplication {
5557

0 commit comments

Comments
 (0)