Allow authorization submit from Swagger UI documentations
What does this MR do and why?
This MR relaxes the sandbox restrictions for Swagger UI to make the authorization submit possible. Basic or key authorization is not possible now in gitlab instance.
This was fixed by adding the allow-forms to the iFrame sandbox attribute:
inspired by MR
Screenshots or screen recordings
Authorization is currently blocked with the issue:
After submit name and password credentials shall be saved:

Now it only prints error to console:

How to set up and validate locally
- Create a new
openapi.yml - Submit basic or key authorization
- Authorization should be saved
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by DanielC
