-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass basic auth parameter to task #134
Comments
I guess there is currently no way to specify the authentication type and credentials. Lines 77 to 80 in e855f9c
|
mhm. do you have an idea how I could do it easily anyways? 🤔 |
With current implementation, it's not possible. What you can do is to create a PR, where you add a new plugin parameter:
To test this out I believe you can create a test endpoint which will serialise all request headers and will return them. Then you can validate that all headers are present. |
Hi @vonWojtas @JiangHongTiao I have an open PR #144 , might also apply to this use-case cc @bnasslahsen |
#144 should resolve this issue. |
Hey !
I would like to know your best practice for following scenario:
The swagger endpoint is protected with basic auth.
How could I pass username and password for the task to access the open api docs?
Or should I re-configure my setup?
I have a Spring Boot 3, Kotlin, regular WebMVC application and want to generate docs.
Thank you very much in advance for any possible help :)
The text was updated successfully, but these errors were encountered: