-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- Laravel Swagger Version: 0.6.4
- Laravel Version: 8.12.3
- PHP Version: 7.4.12
Description:
Say you have an internal session based API on /api in your application, one would need to "log in" when running the command, especially if any of the validation rules use Auth::user().
A small local workaround by adding Auth::loginUsingId($userId) to SwaggerServiceProvider->boot() works, but is not very customizable. Would it be possible to add this as an auth option somehow?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working