How to change Google Application name -


i working on simple (for moment) google api application reads google analytics data customer's analytics account. 'm new google api, started out using single customer's google log-in, permission, , got application working way. is, signed google on machine using account, , ran app local machine using php script , callback page both on local server. worked.

now want generalize app can use customer has analytics account. end, did following:

  • signed out of first customer's google account
  • signed old google developer account have
  • picked project in old account of mine, changed name, , created new secrets.json file it.
  • copied working app's php files (this done in php) new filenames , set use new secrets.json file , callback file name.
  • wiped browser's cache rid of lingering traces of old app.

i did not change other code in app files -- it's working, figured, why change it?

problem: when run new app , contacts google permission access customer's analytics data, google reacts if call coming old app. throws security error because redirect uri in access request doesn't match redirect uri on record old app.

i've looked everywhere can think of, , can't find way reset app name, google see new app, not old one. doing wrong? did miss?

you need go developer console , navigate credentials page, find client id wish update , click "edit settings." change redirect uri match of application. hello analytics api: php quickstart web applications should give steps setup/update application settings.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -