Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincent15000's avatar

Fortify and Swagger

Hello,

In an application in API mode, I'm using Fortify for the authentication.

And I'd like to use Swagger.

How is it possible to add an authentication entry for Fortify in Swagger ?

For example to be able to type a username and a password in Swagger and then use Swagger as an authenticated user.

Thanks for your help.

V

0 likes
2 replies
jlrdw's avatar

I thought swagger was for machine to machine. See if they have some tutorials.

1 like
vincent15000's avatar
vincent15000
OP
Best Answer
Level 63

@jlrdw I decided to use Scribe instead of Swagger.

It's great and it works fine.

Please or to participate in this conversation.