Skip to content

Laravel 11: Session store not set on request #622

@AnFox

Description

@AnFox

It seems in Laravel 11 it applies the 'web' routing rules such CSFR protection, which leads to this error:
"Session store not set on request"

How it's better to solve this error?

I've tried to create a new middleware
class VerifyCsrfToken extends Middleware { protected $except = [ '/telegraph/{token}/webhook', ]; }

and then add it to the telegraph config, but it does not help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions