404labfr / 404labfr/laravel-impersonate

Impersonation on API routes

Open
#143 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.3k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

I have my take and leave impersonation routes set up using the built in helpers and protected by the web middleware, but my app uses API middleware and makes all it's calls through `api` middleware not `web`. When I go to access any API routes my session gets closed and I am logged out.

Is impersonation available on API middleware protected routes?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.