I’m using version 4.6 with our NGINX Reverse Proxy.
I’m testing API access through the Swagger interface. It connects properly through HTTPS to see it’s User Interface, but when do a “Try it out”, the Proposed URL is using HTTP, and therefore doesn’t work.
If I modify the URL to use HTTPS with curl on the CLI I get a valid response.
Also, I can only select the HTTP Scheme, there is no HTTPS choice.
One more thing, The title on the Swagger User Interface is “None API”.
I had the same issue, I also added the “MAYAN_CSRF_TRUSTED_ORIGINS” variable (like you) but it didn’t work totally.
And I finally fixed it by adding the key “MAYAN_ORGANIZATIONS_INSTALLATION_URL” set with my https URL.
In your case :
The MAYAN_CSRF_TRUSTED_ORIGINS variable is only relevant to HTTPS when using a reverse proxy. Mostly to solve CSRF safety issues.
The variable MAYAN_ORGANIZATIONS_INSTALLATION_URL is required to prefix all links with your domain name. Such as document file or export download links.
Use MAYAN_COMMON_PROJECT_TITLE to change the title in some areas. This variable is being changed/phased out in intervals.
We are working on version 4.5.9 which should be released in a few hours. It finishes the normalization of the MAYAN_COMMON_PROJECT_TITLE changes introduced in version 4.5. From our tests, this fully fixes the REST API title issue.