Skip to content

[Security Bundle] Unable to log in via API #54883

Closed Answered by MatTheCat
danielpeci asked this question in Q&A
Discussion options

You must be logged in to vote

Hm if you configured the bundle to use a cookie then you shouldn't need anything else: the browser will automatically send it with each request, so the bundle will be able to get it and authenticate you.

The bundleʼs documentation also mentions the use of two cookies: https://github.com/lexik/LexikJWTAuthenticationBundle/blob/3.x/Resources/doc/1-configuration-reference.rst#automatically-generating-split-cookies so you should probably read it as well as the linked article.

Godspeed 🚀

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@danielpeci
Comment options

@MatTheCat
Comment options

@danielpeci
Comment options

@MatTheCat
Comment options

Answer selected by danielpeci
@danielpeci
Comment options

@MatTheCat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #54873 on May 10, 2024 19:51.