knuckleswtf / scribe

Generate API documentation for humans from your Laravel codebase.✍
https://scribe.knuckles.wtf/laravel/
MIT License
1.58k stars 280 forks source link

getting 401 Unauthorized in each routes where i set the middleware #848

Open codeArtisanry opened 1 month ago

codeArtisanry commented 1 month ago

Scribe version

4.35

Your question

Can somebody help me out? When I remove my middleware i can see the data and api's but when i add middleware it got me with 401 unauthorized

i'm using sanctum:auth

Below are the ways which i already tried

Thanks for your help and support

Docs

codeArtisanry commented 1 month ago

Also please do let me know if there's any way to bypass the middleware by writing up any rules in comments above method