Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

The sfGoogleLoginPlugin offers login via Google accounts using OpenID for Symfony projects.

License

Notifications You must be signed in to change notification settings

acetous/sfGoogleLoginPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfGoogleLoginPlugin

Usage

To display a login/logout link on any page, just load the component:

<?php include_component( 'sfGoogleLogin', 'link' ); ?>

The sfGoogleLogin/login action can be used als the default login action. When the user is logged in, the sfUser object will have set the GoogleAccount as an attribute called "sfGoogleLogin_account".

User Experience

  1. The user clicks the login link.
  2. A popup is displayed, showing the Google login page. This page displays the domain, which the user will be logged in to.
  3. The user enters his email and password and can choose if the login shall be saved or not.
  4. Now the user is logged in. The popup closes itself and the page reloads.

More Information

Contribute

Feel free to contribute code at github.

About

The sfGoogleLoginPlugin offers login via Google accounts using OpenID for Symfony projects.

Resources

License

Stars

Watchers

Forks

Packages