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 9251419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:41:38+00:00 2026-06-18T10:41:38+00:00

I have experimented with FOS user and facebook bundle and when I wanted to

  • 0

I have experimented with FOS user and facebook bundle and when I wanted to return back to my implemented login process something went wrong. Everything should be back to normal, but when I go to /login page, it keeps redirecting to https (which I have not turned it on in apache, so it fails)..

I haven’t found anything in logs. I thought it should be somewhere outside of my bundle, because the request never reached the SecurityController. I also deleted all the FOS-related files. Any help yould be appreciated.

from security.yml

    firewalls:
    dev:
        pattern:  ^/(_(profiler|wdt)|css|images|js)/
        security: false

    secured_area:
        pattern: ^/
        anonymous: ~
        form_login:
            check_path: /login_check
            login_path: /login
        logout:
            path:   /logout
            target: /
        #remember_me:
        #    key: "%secret%"
        #    lifetime: 31536000
        #    path: /
        #    domain: ~

access_control:
    - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }

from routing.yml

login:
    pattern:   /login
    defaults:  { _controller: TnDWWebBundle:Security:login }

login_check:
    pattern:   /login_check
  • 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-18T10:41:39+00:00Added an answer on June 18, 2026 at 10:41 am

    You can use the requires_channel parameter to force HTTP over HTTPS in your security.yml:

    access_control:
        - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: http }
    

    http://symfony.com/doc/current/book/security.html#securing-by-channel

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

Sidebar

Related Questions

I have a couple of Git branches: 'experimental', 'something' and 'master'. I switched to
I have experimented with several different static analyzers for Java, notably Findbugs and PMD.
I'm new to SVN and have experimented with it locally on my Dreamhost test
I have switched to Vista recently and I wanted to keep UAC turned on,
I have experimented with this: >> code-block: copy [] == [] >> append code-block
I have experimented with a technique that involves a web page request which you
Cross-posted from the Cukes Google Group: I have experimented with a number of methods
This is the first time I have experimented with the awesome Web Api and
My setup: Rails 2.3.10, Ruby 1.8.7 I have experimented, without success, with trying to
I have experimented with both pypdf and pdfMiner to extract text from PDF files.

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.