You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on May 13, 2019. It is now read-only.
in google play console i created the 1)productname "gplus-quickstart-java-master"
project name also "gplus-quickstart-java-master"
2)given the email id of mine
3)my client_secrets.json file details are below
Client ID: XXXXXXXXXXXXXXXX
Email address :XXXXXXXXXXXXXXXX
Client secret :XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Redirect URIs :http://localhost:8008/oauth2callback
Javascript Origins : http://localhost:8008
iam running on local host port number 8008
myerror dialog url when iam clicking on sign in button is below
Activity
madhukotagiri commentedon Feb 19, 2015
in main method
public static void main(String[] args) throws Exception {
Server server = new Server(4567);
ServletHandler servletHandler = new ServletHandler();
SessionHandler sessionHandler = new SessionHandler();
sessionHandler.setHandler(servletHandler);
server.setHandler(sessionHandler);
servletHandler.addServletWithMapping(ConnectServlet.class, "/connect");
servletHandler.addServletWithMapping(DisconnectServlet.class, "/disconnect");
servletHandler.addServletWithMapping(PeopleServlet.class, "/people");
servletHandler.addServletWithMapping(MainServlet.class, "/");
server.start();
server.join();
}
do i need to change the port number from 4567 to 8008
i tried with 8008 also
gguuss commentedon Jul 6, 2015
Did you change the client id in
client_secrets.json.exampleto your client ID from the Google APIs console and rename it toclient_secrets.json?