Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ability to authentication a User directly #11158

Closed
Assignees
chalasr
Labels
DXDX = Developer eXperience (anything that improves the experience of using Symfony)Security
@weaverryan

Description

@weaverryan

(this issue is part of the"DX" ("Developer eXperience") initiative introduced by Symfony project)

Normally, we don't authenticate a user directly, the firewall handles all of that. But sometimes, we do! I realize that security is super-customizable (e.g. different token classes, etc), but it's always been a bit crazy that you can't simply - if you want to - login a user right from a controller (for example). People do this anyways all the time anyways, for example, after registrationFOSUserBundle.

Is it possible to support this? It would also allow people to handle security a bit more themselves if they wanted to, which for simple cases (e.g. traditional username+password login), I don't see an issue (I see authentication asneeding to happen via a listener before the controller only for things like API token authentication).

Metadata

Metadata

Assignees

Labels

DXDX = Developer eXperience (anything that improves the experience of using Symfony)Security

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp