Replies: 2 comments 1 reply
-
Craft 5 is focused on authoring and content modeling improvements, but we’re eager to improve headless authentication just as soon as v5 has shipped! We are keenly aware of the pain points, especially when it comes to Craft Commerce. The high level plan is to create a JWT-based auth system, where JWTs could reference a user or a list of granted permissions, update permission checks to take that into account, and add an authentication layer to GraphQL so we can start adding user session-concerned endpoints, like cart management. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your response @brandonkelly: I am glad that you have a plan of a better headless auth for after Craft CMS 5 is shipped. |
Beta Was this translation helpful? Give feedback.
-
I am reaching out to inquire about the upcoming features in Craft CMS 5, specifically in relation to headless mode. My primary concern revolves around the current state of authentication and user session management when using the REST API and/or GraphQL in headless mode. As it stands, these functionalities seem to be somewhat secondary compared to their counterparts in the standard (non-headless) mode.
This issue becomes particularly pronounced when integrating Craft Commerce in a headless setup. The gap in native support for robust auth and session management in headless mode is currently being filled by solutions like the GraphQL Authentication plugin. However, this feels more like a workaround rather than a holistic solution.
Given these points, I am eager to know whether Craft CMS 5 will introduce enhanced facilities for authentication and user session management in headless mode. Such improvements would significantly streamline the development process and enhance the overall security and user experience in headless deployments.
Looking forward to any insights or updates you can share on this topic.
Beta Was this translation helpful? Give feedback.
All reactions