Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7940649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:26:46+00:00 2026-06-03T23:26:46+00:00

How FOS User Bundle authenticates the user by this service container? $this->container->get(‘security.context’)->getToken()->getUser(); I want

  • 0

How FOS User Bundle authenticates the user by this service container?

$this->container->get('security.context')->getToken()->getUser();

I want to manipulate the authentication process. Where should I look in the bundle?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:26:48+00:00Added an answer on June 3, 2026 at 11:26 pm

    Actually FOSUserBundle doesn’t do authentication. It actually provides a db user provider. Authentication part is done by Symfony2’s internal form_login authentication provider. If you want to create custom authentication provider check this cookbook entry.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this security.yml file. I want to know do i need two firewalls
Following the docs in the bundle, I get this exception: InvalidConfigurationException: Unrecognized options fos_facebook
I want to implement OSGI bundle which can write error messages into log file.
I want to persist a User entity extends FOSUserBundle entity but an error occured
File outputFile = new File(path, clickedKey+.txt); OutputStream fos = new FileOutputStream(outputFile); fos.write(data.getBytes()); fos.close(); This
I have my own User Class, which inherits FOS\UserBundle\Entity\User . Additionally I wrote my
I have a problem. I have already installed into my Symfony 2 FOS User
I installed FOSUserBundle and FOSFacebookBundle using this method : How to make a separate
I'm trying to modify the way FOSUSerBundle validates the username/email when the user registers,
I'm trying to authenticate a user on my symfony2 server. The authentication works with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.