Google+ authentication with FOSUserBundleAuthenticationSuccessHandler and redirect after loginAuthenticationSuccessHandler, redirect after login and refererDetect access_control in controller symfony2How can I get Request object inside a class in Symfony 2?FOSUser + BorisMorel LdapBundleSymfony + FOSUserBundle can't loginSymfony2 - Pommbundle and userInterfaceSymfony 3.3, authentication, bcrypt, bad credentialsSymfony 3.4 ldap authentication issueUser is not logged in

Arriving at the same result with the opposite hypotheses

is it possible for a vehicle to be manufactured witout a catalitic converter

How to tell your grandparent to not come to fetch you with their car?

Switch "when" cannot see constants?

Pre-1972 sci-fi short story or novel: alien(?) tunnel where people try new moves and get destroyed if they're not the correct ones

Cascading Switches. Will it affect performance?

Geopandas and QGIS Calulating Different Polygon Area Values?

How come the nude protesters were not arrested?

Why doesn't Adrian Toomes give up Spider-Man's identity?

A IP can traceroute to it, but can not ping

Extreme flexible working hours: how to control people and activities?

What is the actual quality of machine translations?

Mathematically, why does mass matrix / load vector lumping work?

Were Alexander the Great and Hephaestion lovers?

Non-aquatic eyes?

What is the purpose of the goat for Azazel, as opposed to conventional offerings?

Why do some employees fill out a W-4 and some don't?

Why didn't Voldemort recognize that Dumbledore was affected by his curse?

Tabular make widths equal

Generate basis elements of the Steenrod algebra

Importance of Building Credit Score?

With Ubuntu 18.04, how can I have a hot corner that locks the computer?

Jargon request: "Canonical Form" of a word

Is a lack of character descriptions a problem?



Google+ authentication with FOSUserBundle


AuthenticationSuccessHandler and redirect after loginAuthenticationSuccessHandler, redirect after login and refererDetect access_control in controller symfony2How can I get Request object inside a class in Symfony 2?FOSUser + BorisMorel LdapBundleSymfony + FOSUserBundle can't loginSymfony2 - Pommbundle and userInterfaceSymfony 3.3, authentication, bcrypt, bad credentialsSymfony 3.4 ldap authentication issueUser is not logged in






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















i was learning OAuth2 in order to login an account with Google+ , Facebook, etc. on a web site.



I have followed a tutorial about it, and i have an issue when i clicked on my button "Connect with Google+" : Image1



In the tutorial, he created a User.php but i had already one with FOS User.



Here is my code :



User.php :



 <?php
// src/AppBundle/Entity/User.php

namespace AppEntity;

use DoctrineCommonCollectionsArrayCollection;
use DoctrineCommonCollectionsCollection;
use FOSUserBundleModelUser as BaseUser;
use DoctrineORMMapping as ORM;
use SymfonyComponentSecurityCoreUserUserInterface;


/**
* @ORMEntity
* @ORMTable(name="fos_user")
*/
class User extends BaseUser implements UserInterface
null The salt
*/
public function getSalt()

return null;


/**
* Returns the username used to authenticate the user.
*
* @return string The username
*/
public function getUsername()

return $this->email;


/**
* Removes sensitive data from the user.
*
* This is important if, at any given point, sensitive information like
* the plain-text password is stored on this object.
*/
public function eraseCredentials()

return null;




UserProvider.php :



<?php
/**
* Created by IntelliJ IDEA.
* User: mert
* Date: 12/18/17
* Time: 12:58 PM
*/

namespace AppSecurity;


use DoctrineORMEntityManagerInterface;
use AppEntityUser;
use SymfonyComponentSecurityCoreExceptionUnsupportedUserException;
use SymfonyComponentSecurityCoreUserUserInterface;
use SymfonyComponentSecurityCoreUserUserProviderInterface;

class UserProvider implements UserProviderInterface

private $entityManager;

/**
* UserProvider constructor.
* @param EntityManagerInterface $entityManager
* @internal param Client $httpClient
* @internal param UserOptionService $userOptionService
* @internal param ProjectService $projectService
* @internal param SessionService $sessionService
* @internal param Session $session
* @internal param UserOptionService $userOptionsService
*/
public function __construct(EntityManagerInterface $entityManager)

$this->entityManager = $entityManager;


/**
* Loads the user for the given username.
*
* This method must throw UsernameNotFoundException if the user is not
* found.
*
* @param string $username The username
*
* @return UserInterface
*
* @throws DoctrineORMNonUniqueResultException
*/
public function loadUserByUsername($username)

return $this->entityManager->createQueryBuilder('u')
->where('u.email = :email')
->setParameter('email', $username)
->getQuery()
->getOneOrNullResult();


/**
* Refreshes the user.
*
* It is up to the implementation to decide if the user data should be
* totally reloaded (e.g. from the database), or if the UserInterface
* object can just be merged into some internal array of users / identity
* map.
*
* @param UserInterface $user
* @return UserInterface
*
*/
public function refreshUser(UserInterface $user)

if (!$user instanceof User)
throw new UnsupportedUserException(
sprintf('Instances of "%s" are not supported.', get_class($user))
);

return $user;


/**
* Whether this provider supports the given user class.
*
* @param string $class
*
* @return bool
*/
public function supportsClass($class)

return $class === 'AppSecurityUser';




GoogleController.php :



 <?php

namespace AppController;


use KnpUOAuth2ClientBundleClientClientRegistry;
use SymfonyBundleFrameworkBundleControllerAbstractController;
use SymfonyComponentHttpFoundationJsonResponse;
use SymfonyComponentHttpFoundationRequest;
use SymfonyComponentRoutingAnnotationRoute;

class GoogleController extends AbstractController
SymfonyComponentHttpFoundationRedirectResponse
*/
public function connectCheckAction(Request $request)

if (!$this->getUser())
return new JsonResponse(array('status' => false, 'message' => "User not found!"));
else
return $this->redirectToRoute('default');







and my GoogleAuthenticator.php :



<?php

namespace AppSecurity;

use AppEntityUser;
use DoctrineORMEntityManagerInterface;
use KnpUOAuth2ClientBundleClientClientRegistry;
use KnpUOAuth2ClientBundleSecurityAuthenticatorSocialAuthenticator;
use LeagueOAuth2ClientProviderGoogleUser;
use SymfonyComponentHttpFoundationRedirectResponse;
use SymfonyComponentHttpFoundationRequest;
use SymfonyComponentRoutingRouterInterface;
use SymfonyComponentSecurityCoreUserUserProviderInterface;


/**
* Created by IntelliJ IDEA.
* User: mert
* Date: 12/18/17
* Time: 12:00 PM
*/
class GoogleAuthenticator extends SocialAuthenticator
null
*/
public function onAuthenticationFailure(Request $request, SymfonyComponentSecurityCoreExceptionAuthenticationException $exception)

// TODO: Implement onAuthenticationFailure() method.


/**
* Called when authentication executed and was successful!
*
* This should return the Response sent back to the user, like a
* RedirectResponse to the last page they visited.
*
*


If you return null, the current request will continue, and the user
* will be authenticated. This makes sense, for example, with an API.
*
* @param Request $request
* @param SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token
* @param string $providerKey The provider (i.e. firewall) key
*
* @return void
*/
public function onAuthenticationSuccess(Request $request, SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token, $providerKey)

// TODO: Implement onAuthenticationSuccess() method.



Hope some of you could help on this. Thanks a lot.










share|improve this question






























    1















    i was learning OAuth2 in order to login an account with Google+ , Facebook, etc. on a web site.



    I have followed a tutorial about it, and i have an issue when i clicked on my button "Connect with Google+" : Image1



    In the tutorial, he created a User.php but i had already one with FOS User.



    Here is my code :



    User.php :



     <?php
    // src/AppBundle/Entity/User.php

    namespace AppEntity;

    use DoctrineCommonCollectionsArrayCollection;
    use DoctrineCommonCollectionsCollection;
    use FOSUserBundleModelUser as BaseUser;
    use DoctrineORMMapping as ORM;
    use SymfonyComponentSecurityCoreUserUserInterface;


    /**
    * @ORMEntity
    * @ORMTable(name="fos_user")
    */
    class User extends BaseUser implements UserInterface
    null The salt
    */
    public function getSalt()

    return null;


    /**
    * Returns the username used to authenticate the user.
    *
    * @return string The username
    */
    public function getUsername()

    return $this->email;


    /**
    * Removes sensitive data from the user.
    *
    * This is important if, at any given point, sensitive information like
    * the plain-text password is stored on this object.
    */
    public function eraseCredentials()

    return null;




    UserProvider.php :



    <?php
    /**
    * Created by IntelliJ IDEA.
    * User: mert
    * Date: 12/18/17
    * Time: 12:58 PM
    */

    namespace AppSecurity;


    use DoctrineORMEntityManagerInterface;
    use AppEntityUser;
    use SymfonyComponentSecurityCoreExceptionUnsupportedUserException;
    use SymfonyComponentSecurityCoreUserUserInterface;
    use SymfonyComponentSecurityCoreUserUserProviderInterface;

    class UserProvider implements UserProviderInterface

    private $entityManager;

    /**
    * UserProvider constructor.
    * @param EntityManagerInterface $entityManager
    * @internal param Client $httpClient
    * @internal param UserOptionService $userOptionService
    * @internal param ProjectService $projectService
    * @internal param SessionService $sessionService
    * @internal param Session $session
    * @internal param UserOptionService $userOptionsService
    */
    public function __construct(EntityManagerInterface $entityManager)

    $this->entityManager = $entityManager;


    /**
    * Loads the user for the given username.
    *
    * This method must throw UsernameNotFoundException if the user is not
    * found.
    *
    * @param string $username The username
    *
    * @return UserInterface
    *
    * @throws DoctrineORMNonUniqueResultException
    */
    public function loadUserByUsername($username)

    return $this->entityManager->createQueryBuilder('u')
    ->where('u.email = :email')
    ->setParameter('email', $username)
    ->getQuery()
    ->getOneOrNullResult();


    /**
    * Refreshes the user.
    *
    * It is up to the implementation to decide if the user data should be
    * totally reloaded (e.g. from the database), or if the UserInterface
    * object can just be merged into some internal array of users / identity
    * map.
    *
    * @param UserInterface $user
    * @return UserInterface
    *
    */
    public function refreshUser(UserInterface $user)

    if (!$user instanceof User)
    throw new UnsupportedUserException(
    sprintf('Instances of "%s" are not supported.', get_class($user))
    );

    return $user;


    /**
    * Whether this provider supports the given user class.
    *
    * @param string $class
    *
    * @return bool
    */
    public function supportsClass($class)

    return $class === 'AppSecurityUser';




    GoogleController.php :



     <?php

    namespace AppController;


    use KnpUOAuth2ClientBundleClientClientRegistry;
    use SymfonyBundleFrameworkBundleControllerAbstractController;
    use SymfonyComponentHttpFoundationJsonResponse;
    use SymfonyComponentHttpFoundationRequest;
    use SymfonyComponentRoutingAnnotationRoute;

    class GoogleController extends AbstractController
    SymfonyComponentHttpFoundationRedirectResponse
    */
    public function connectCheckAction(Request $request)

    if (!$this->getUser())
    return new JsonResponse(array('status' => false, 'message' => "User not found!"));
    else
    return $this->redirectToRoute('default');







    and my GoogleAuthenticator.php :



    <?php

    namespace AppSecurity;

    use AppEntityUser;
    use DoctrineORMEntityManagerInterface;
    use KnpUOAuth2ClientBundleClientClientRegistry;
    use KnpUOAuth2ClientBundleSecurityAuthenticatorSocialAuthenticator;
    use LeagueOAuth2ClientProviderGoogleUser;
    use SymfonyComponentHttpFoundationRedirectResponse;
    use SymfonyComponentHttpFoundationRequest;
    use SymfonyComponentRoutingRouterInterface;
    use SymfonyComponentSecurityCoreUserUserProviderInterface;


    /**
    * Created by IntelliJ IDEA.
    * User: mert
    * Date: 12/18/17
    * Time: 12:00 PM
    */
    class GoogleAuthenticator extends SocialAuthenticator
    null
    */
    public function onAuthenticationFailure(Request $request, SymfonyComponentSecurityCoreExceptionAuthenticationException $exception)

    // TODO: Implement onAuthenticationFailure() method.


    /**
    * Called when authentication executed and was successful!
    *
    * This should return the Response sent back to the user, like a
    * RedirectResponse to the last page they visited.
    *
    *


    If you return null, the current request will continue, and the user
    * will be authenticated. This makes sense, for example, with an API.
    *
    * @param Request $request
    * @param SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token
    * @param string $providerKey The provider (i.e. firewall) key
    *
    * @return void
    */
    public function onAuthenticationSuccess(Request $request, SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token, $providerKey)

    // TODO: Implement onAuthenticationSuccess() method.



    Hope some of you could help on this. Thanks a lot.










    share|improve this question


























      1












      1








      1








      i was learning OAuth2 in order to login an account with Google+ , Facebook, etc. on a web site.



      I have followed a tutorial about it, and i have an issue when i clicked on my button "Connect with Google+" : Image1



      In the tutorial, he created a User.php but i had already one with FOS User.



      Here is my code :



      User.php :



       <?php
      // src/AppBundle/Entity/User.php

      namespace AppEntity;

      use DoctrineCommonCollectionsArrayCollection;
      use DoctrineCommonCollectionsCollection;
      use FOSUserBundleModelUser as BaseUser;
      use DoctrineORMMapping as ORM;
      use SymfonyComponentSecurityCoreUserUserInterface;


      /**
      * @ORMEntity
      * @ORMTable(name="fos_user")
      */
      class User extends BaseUser implements UserInterface
      null The salt
      */
      public function getSalt()

      return null;


      /**
      * Returns the username used to authenticate the user.
      *
      * @return string The username
      */
      public function getUsername()

      return $this->email;


      /**
      * Removes sensitive data from the user.
      *
      * This is important if, at any given point, sensitive information like
      * the plain-text password is stored on this object.
      */
      public function eraseCredentials()

      return null;




      UserProvider.php :



      <?php
      /**
      * Created by IntelliJ IDEA.
      * User: mert
      * Date: 12/18/17
      * Time: 12:58 PM
      */

      namespace AppSecurity;


      use DoctrineORMEntityManagerInterface;
      use AppEntityUser;
      use SymfonyComponentSecurityCoreExceptionUnsupportedUserException;
      use SymfonyComponentSecurityCoreUserUserInterface;
      use SymfonyComponentSecurityCoreUserUserProviderInterface;

      class UserProvider implements UserProviderInterface

      private $entityManager;

      /**
      * UserProvider constructor.
      * @param EntityManagerInterface $entityManager
      * @internal param Client $httpClient
      * @internal param UserOptionService $userOptionService
      * @internal param ProjectService $projectService
      * @internal param SessionService $sessionService
      * @internal param Session $session
      * @internal param UserOptionService $userOptionsService
      */
      public function __construct(EntityManagerInterface $entityManager)

      $this->entityManager = $entityManager;


      /**
      * Loads the user for the given username.
      *
      * This method must throw UsernameNotFoundException if the user is not
      * found.
      *
      * @param string $username The username
      *
      * @return UserInterface
      *
      * @throws DoctrineORMNonUniqueResultException
      */
      public function loadUserByUsername($username)

      return $this->entityManager->createQueryBuilder('u')
      ->where('u.email = :email')
      ->setParameter('email', $username)
      ->getQuery()
      ->getOneOrNullResult();


      /**
      * Refreshes the user.
      *
      * It is up to the implementation to decide if the user data should be
      * totally reloaded (e.g. from the database), or if the UserInterface
      * object can just be merged into some internal array of users / identity
      * map.
      *
      * @param UserInterface $user
      * @return UserInterface
      *
      */
      public function refreshUser(UserInterface $user)

      if (!$user instanceof User)
      throw new UnsupportedUserException(
      sprintf('Instances of "%s" are not supported.', get_class($user))
      );

      return $user;


      /**
      * Whether this provider supports the given user class.
      *
      * @param string $class
      *
      * @return bool
      */
      public function supportsClass($class)

      return $class === 'AppSecurityUser';




      GoogleController.php :



       <?php

      namespace AppController;


      use KnpUOAuth2ClientBundleClientClientRegistry;
      use SymfonyBundleFrameworkBundleControllerAbstractController;
      use SymfonyComponentHttpFoundationJsonResponse;
      use SymfonyComponentHttpFoundationRequest;
      use SymfonyComponentRoutingAnnotationRoute;

      class GoogleController extends AbstractController
      SymfonyComponentHttpFoundationRedirectResponse
      */
      public function connectCheckAction(Request $request)

      if (!$this->getUser())
      return new JsonResponse(array('status' => false, 'message' => "User not found!"));
      else
      return $this->redirectToRoute('default');







      and my GoogleAuthenticator.php :



      <?php

      namespace AppSecurity;

      use AppEntityUser;
      use DoctrineORMEntityManagerInterface;
      use KnpUOAuth2ClientBundleClientClientRegistry;
      use KnpUOAuth2ClientBundleSecurityAuthenticatorSocialAuthenticator;
      use LeagueOAuth2ClientProviderGoogleUser;
      use SymfonyComponentHttpFoundationRedirectResponse;
      use SymfonyComponentHttpFoundationRequest;
      use SymfonyComponentRoutingRouterInterface;
      use SymfonyComponentSecurityCoreUserUserProviderInterface;


      /**
      * Created by IntelliJ IDEA.
      * User: mert
      * Date: 12/18/17
      * Time: 12:00 PM
      */
      class GoogleAuthenticator extends SocialAuthenticator
      null
      */
      public function onAuthenticationFailure(Request $request, SymfonyComponentSecurityCoreExceptionAuthenticationException $exception)

      // TODO: Implement onAuthenticationFailure() method.


      /**
      * Called when authentication executed and was successful!
      *
      * This should return the Response sent back to the user, like a
      * RedirectResponse to the last page they visited.
      *
      *


      If you return null, the current request will continue, and the user
      * will be authenticated. This makes sense, for example, with an API.
      *
      * @param Request $request
      * @param SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token
      * @param string $providerKey The provider (i.e. firewall) key
      *
      * @return void
      */
      public function onAuthenticationSuccess(Request $request, SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token, $providerKey)

      // TODO: Implement onAuthenticationSuccess() method.



      Hope some of you could help on this. Thanks a lot.










      share|improve this question
















      i was learning OAuth2 in order to login an account with Google+ , Facebook, etc. on a web site.



      I have followed a tutorial about it, and i have an issue when i clicked on my button "Connect with Google+" : Image1



      In the tutorial, he created a User.php but i had already one with FOS User.



      Here is my code :



      User.php :



       <?php
      // src/AppBundle/Entity/User.php

      namespace AppEntity;

      use DoctrineCommonCollectionsArrayCollection;
      use DoctrineCommonCollectionsCollection;
      use FOSUserBundleModelUser as BaseUser;
      use DoctrineORMMapping as ORM;
      use SymfonyComponentSecurityCoreUserUserInterface;


      /**
      * @ORMEntity
      * @ORMTable(name="fos_user")
      */
      class User extends BaseUser implements UserInterface
      null The salt
      */
      public function getSalt()

      return null;


      /**
      * Returns the username used to authenticate the user.
      *
      * @return string The username
      */
      public function getUsername()

      return $this->email;


      /**
      * Removes sensitive data from the user.
      *
      * This is important if, at any given point, sensitive information like
      * the plain-text password is stored on this object.
      */
      public function eraseCredentials()

      return null;




      UserProvider.php :



      <?php
      /**
      * Created by IntelliJ IDEA.
      * User: mert
      * Date: 12/18/17
      * Time: 12:58 PM
      */

      namespace AppSecurity;


      use DoctrineORMEntityManagerInterface;
      use AppEntityUser;
      use SymfonyComponentSecurityCoreExceptionUnsupportedUserException;
      use SymfonyComponentSecurityCoreUserUserInterface;
      use SymfonyComponentSecurityCoreUserUserProviderInterface;

      class UserProvider implements UserProviderInterface

      private $entityManager;

      /**
      * UserProvider constructor.
      * @param EntityManagerInterface $entityManager
      * @internal param Client $httpClient
      * @internal param UserOptionService $userOptionService
      * @internal param ProjectService $projectService
      * @internal param SessionService $sessionService
      * @internal param Session $session
      * @internal param UserOptionService $userOptionsService
      */
      public function __construct(EntityManagerInterface $entityManager)

      $this->entityManager = $entityManager;


      /**
      * Loads the user for the given username.
      *
      * This method must throw UsernameNotFoundException if the user is not
      * found.
      *
      * @param string $username The username
      *
      * @return UserInterface
      *
      * @throws DoctrineORMNonUniqueResultException
      */
      public function loadUserByUsername($username)

      return $this->entityManager->createQueryBuilder('u')
      ->where('u.email = :email')
      ->setParameter('email', $username)
      ->getQuery()
      ->getOneOrNullResult();


      /**
      * Refreshes the user.
      *
      * It is up to the implementation to decide if the user data should be
      * totally reloaded (e.g. from the database), or if the UserInterface
      * object can just be merged into some internal array of users / identity
      * map.
      *
      * @param UserInterface $user
      * @return UserInterface
      *
      */
      public function refreshUser(UserInterface $user)

      if (!$user instanceof User)
      throw new UnsupportedUserException(
      sprintf('Instances of "%s" are not supported.', get_class($user))
      );

      return $user;


      /**
      * Whether this provider supports the given user class.
      *
      * @param string $class
      *
      * @return bool
      */
      public function supportsClass($class)

      return $class === 'AppSecurityUser';




      GoogleController.php :



       <?php

      namespace AppController;


      use KnpUOAuth2ClientBundleClientClientRegistry;
      use SymfonyBundleFrameworkBundleControllerAbstractController;
      use SymfonyComponentHttpFoundationJsonResponse;
      use SymfonyComponentHttpFoundationRequest;
      use SymfonyComponentRoutingAnnotationRoute;

      class GoogleController extends AbstractController
      SymfonyComponentHttpFoundationRedirectResponse
      */
      public function connectCheckAction(Request $request)

      if (!$this->getUser())
      return new JsonResponse(array('status' => false, 'message' => "User not found!"));
      else
      return $this->redirectToRoute('default');







      and my GoogleAuthenticator.php :



      <?php

      namespace AppSecurity;

      use AppEntityUser;
      use DoctrineORMEntityManagerInterface;
      use KnpUOAuth2ClientBundleClientClientRegistry;
      use KnpUOAuth2ClientBundleSecurityAuthenticatorSocialAuthenticator;
      use LeagueOAuth2ClientProviderGoogleUser;
      use SymfonyComponentHttpFoundationRedirectResponse;
      use SymfonyComponentHttpFoundationRequest;
      use SymfonyComponentRoutingRouterInterface;
      use SymfonyComponentSecurityCoreUserUserProviderInterface;


      /**
      * Created by IntelliJ IDEA.
      * User: mert
      * Date: 12/18/17
      * Time: 12:00 PM
      */
      class GoogleAuthenticator extends SocialAuthenticator
      null
      */
      public function onAuthenticationFailure(Request $request, SymfonyComponentSecurityCoreExceptionAuthenticationException $exception)

      // TODO: Implement onAuthenticationFailure() method.


      /**
      * Called when authentication executed and was successful!
      *
      * This should return the Response sent back to the user, like a
      * RedirectResponse to the last page they visited.
      *
      *


      If you return null, the current request will continue, and the user
      * will be authenticated. This makes sense, for example, with an API.
      *
      * @param Request $request
      * @param SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token
      * @param string $providerKey The provider (i.e. firewall) key
      *
      * @return void
      */
      public function onAuthenticationSuccess(Request $request, SymfonyComponentSecurityCoreAuthenticationTokenTokenInterface $token, $providerKey)

      // TODO: Implement onAuthenticationSuccess() method.



      Hope some of you could help on this. Thanks a lot.







      php symfony oauth google-plus






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 24 at 19:17







      Tweak

















      asked Mar 24 at 17:40









      TweakTweak

      8412




      8412






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55326629%2fgoogle-authentication-with-fosuserbundle%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55326629%2fgoogle-authentication-with-fosuserbundle%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현