Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
goodnightworld Posted August 27, 2016 Posted August 27, 2016 Hi everyone, Is there anyway to install back "Google" to "Login Handler" under AdminCP > System > Login Handler? I accidentally deleted it from there. Please advise. Thanks
Adlago Posted August 27, 2016 Posted August 27, 2016 Try this Open in cPanel PHP myadmin table "core_login_handlers Click INSERTION in navigation menu above Add in Columne 'login_key' - google Add in Columne 'login_enabled' - 0 Add in Columne 'login_settings' {"client_id":"","client_secret":"","real_name":true} and uncheck mark Add in Columne 'login_order' - 8 and uncheck mark Add in 'login_acp' - 0
Daniel F Posted August 27, 2016 Posted August 27, 2016 And then you'll have to run the support tools to rebuild your cache because the login handlers are cached.
goodnightworld Posted August 28, 2016 Author Posted August 28, 2016 15 hours ago, Daniel F said: And then you'll have to run the support tools to rebuild your cache because the login handlers are cached. Thanks @Adlago and @Daniel F How do I rebuild my cache? I had problem setting up google api. Please help me and advise me. Got this error... Error: redirect_uri_mismatch Application: PokemonGoGYM web client You can email the developer of this application at:kaiweichua@gmail.com The redirect URI in the request, http://forums.pokemongogym.sg/applications/core/interface/google/auth.php, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/360797674663-id4use8ln8ra16f4hvhpjlhv302huq8a.apps.googleusercontent.com?project=360797674663 to update the authorized redirect URIs.
pxg.me nick Posted August 28, 2016 Posted August 28, 2016 31 minutes ago, goodnightworld said: Thanks @Adlago and @Daniel F How do I rebuild my cache? I had problem setting up google api. Please help me and advise me. Got this error... Error: redirect_uri_mismatch Application: PokemonGoGYM web client You can email the developer of this application at:kaiweichua@gmail.com The redirect URI in the request, http://forums.pokemongogym.sg/applications/core/interface/google/auth.php, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/360797674663-id4use8ln8ra16f4hvhpjlhv302huq8a.apps.googleusercontent.com?project=360797674663 to update the authorized redirect URIs. To rebuild cache go to System -> Support -> Something isn't working correctly -> Continue
goodnightworld Posted August 28, 2016 Author Posted August 28, 2016 4 minutes ago, Nick Boyett said: To rebuild cache go to System -> Support -> Something isn't working correctly -> Continue @Nick Boyett do you know why am i kept getting redirect uri error? please help.
pxg.me nick Posted August 28, 2016 Posted August 28, 2016 1 minute ago, goodnightworld said: @Nick Boyett do you know why am i kept getting redirect uri error? please help. I suspect you need to fix the authorized redirect URIs in https://console.developers.google.com/apis/credentials/oauthclient/360797674663-id4use8ln8ra16f4hvhpjlhv302huq8a.apps.googleusercontent.com?project=360797674663
goodnightworld Posted August 28, 2016 Author Posted August 28, 2016 Just now, Nick Boyett said: I suspect you need to fix the authorized redirect URIs in https://console.developers.google.com/apis/credentials/oauthclient/360797674663-id4use8ln8ra16f4hvhpjlhv302huq8a.apps.googleusercontent.com?project=360797674663 @Nick Boyett how do i find my authorized redirect URIs? I stated http://localhost on it but it still came out as http://forums.pokemongogym.sg/applications/core/interface/google/auth.php,
pxg.me nick Posted August 28, 2016 Posted August 28, 2016 3 minutes ago, goodnightworld said: @Nick Boyett how do i find my authorized redirect URIs? I stated http://localhost on it but it still came out as http://forums.pokemongogym.sg/applications/core/interface/google/auth.php, Are you following this tutorial?
goodnightworld Posted August 28, 2016 Author Posted August 28, 2016 Just now, Nick Boyett said: Are you following this tutorial? @Nick Boyett yea i did follow the guide. but still getting the error. if u need any account, let me know, i can create an admin account for you. please help me @Nick Boyett
pxg.me nick Posted August 28, 2016 Posted August 28, 2016 I think for your site the autorized redirect uri would be http://forums.pokemongogym.sg/applications/core/interface/google/auth.php make sure there isn't a comma at the end of it
goodnightworld Posted August 28, 2016 Author Posted August 28, 2016 no matter what i change @ https://console.developers.google.com/apis/credentials/oauthclient/360797674663-id4use8ln8ra16f4hvhpjlhv302huq8a.apps.googleusercontent.com?project=360797674663 it just won't reflect/update. what should i do? @Nick Boyett 6 minutes ago, Nick Boyett said: I think for your site the autorized redirect uri would be http://forums.pokemongogym.sg/applications/core/interface/google/auth.php make sure there isn't a comma at the end of it It's okay now! Thanks for the great help!
pxg.me nick Posted August 28, 2016 Posted August 28, 2016 Be 100% sure that the authorized redirect URI is set to http://forums.pokemongogym.sg/applications/core/interface/google/auth.php . I would like to help you but I hardly know much about it myself.
pxg.me nick Posted August 28, 2016 Posted August 28, 2016 I just made an account on your website using google so it looks like it works now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.