Skip to content

ngekoding/google-login-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Login + CodeIgniter

Integrating Google Login with CodeIgniter by Ngekoding.

Important

  1. Make sure composer was installed
  2. Make sure you have Google client id and client secret (also setting for callback url, etc.)

How to install

  1. Clone/download this repo and place to your local server
    • XAMPP: path/to/xampp/htdocs
  2. Open application/config/config.php and change base_url to your own setting (Note: for local use, please use a virtualhost)
  3. Rename google.example.php to google.php in application/config and change the value (g_client_id, etc.)
  4. Installing google client library
    • Open CMD/Terminal
    • Go to project directory google-login/application
    • Run composer install
    • Finish
  5. Open browser and type the address (e.g http://ngekoding.me)

Happy coding!

About

Integrating Google Login in CodeIgniter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published