L5-Swagger
L5-Swagger copied to clipboard
how can I haw multi auth bearer in different documents?
i have generated authentication with jwt but when i logout from one document , the other documents logout two.
- @OA\SecurityScheme(
-
securityScheme="bearerSellerAuth",
-
in="header",
-
name="bearerAuth",
-
type="http",
-
scheme="bearer",
-
bearerFormat="JWT",
-
)
-
Have you tried persist_authorization
option: https://github.com/DarkaOnLine/L5-Swagger/blob/master/config/l5-swagger.php#L277
thanks for your useful package i have several rule in my project as module and i want to each module have different document
i done it with change in config file
do you have some tutorial for the package?
On Tue, Feb 1, 2022 at 9:39 AM Darius Matulionis @.***> wrote:
Have you tried persist_authorization option: https://github.com/DarkaOnLine/L5-Swagger/blob/master/config/l5-swagger.php#L277
— Reply to this email directly, view it on GitHub https://github.com/DarkaOnLine/L5-Swagger/issues/442#issuecomment-1026508600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIC57VDPQLASDIWXBGQJTFDUY52IDANCNFSM5NIGJEMQ . You are receiving this because you authored the thread.Message ID: @.***>