Skip to content

Allow Remember Me cookie with JSON Login #40918

@fbnlsr

Description

@fbnlsr

Description
When setting up an SPA, especially when using a framework like InertiaJS, you can use json_login to handle user's login, and delegate the login system to Symfony and the PHPSESSID cookie.

We should be able to use the remember_me flag to get a REMEMBERME cookie alongside the session cookie.

Example
We could for instance activate the option in security.yaml like it's already available for the form_login key.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions