Google OAuth2 not working on local development server - PHP Codeigniter spark -


i trying use codeigniter spark ( http://getsparks.org/packages/oauth2/versions/head/show) allow users login php site fb , google.

my local dev site (on wampserver) called mysite.dev, have etc/hosts file :

127.0.0.1       mysite.dev 

facebook login works absolutely fine. when try logging google, google complains : invalid parameter value redirect_uri: non-public domains not allowed: http://mysite.dev/index.php/oauth2/session/google oauth2 controller , session function specify fb/google, etc

any clues/hints ? thanks

when create client id web applications in google apis console can add allowed redirect uris. accepts localhost urls , others well.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -