Skip to content

Authenticate sessionless tokens#306

Open
MiauzGenau wants to merge 1 commit into
Flowpack:2.xfrom
MiauzGenau:bugfix/graphql-middleware-sessionless-authentication
Open

Authenticate sessionless tokens#306
MiauzGenau wants to merge 1 commit into
Flowpack:2.xfrom
MiauzGenau:bugfix/graphql-middleware-sessionless-authentication

Conversation

@MiauzGenau

@MiauzGenau MiauzGenau commented Jul 17, 2026

Copy link
Copy Markdown

My attempt to resolve: #305

This change injects the AuthenticationManagerInterface via the GraphQLMiddlewareFactory and calls authenticate() after the simulated request is assigned.
AuthenticationRequiredException is caught deliberately:
Authentication is attempted, not required, so anonymous/token-based API access (as described in the README) keeps working and privilege targets decide authorization as before.

Tested with:
flowpack/media-ui: 2.0.4
flownative/openidconnect-neos: 0.4.0
flownative/neos-canto: 0.6.0

@pKallert
pKallert requested a review from Sebobo July 20, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant