Skip to content

Commit

Permalink
Instructions for deploying on modwsgi (spec-first#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgmerk authored and hjacobs committed Oct 18, 2019
1 parent 7a1ce8d commit c94fa61
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ semantics as for ``x-tokenInfoFunc``, but the function accepts one parameter: to

You can find a `minimal JWT example application`_ in Connexion's "examples/openapi3" folder.

Deploying Authentication
------------------------

Some production hosting environments, such as Apache with modwsgi, do not by default pass
authentication headers to WSGI applications. Therefore, to allow connexion to handle
authentication, you will need to enable passthrough.

Instructions for `enabling authentication passthrough in modwsgi`_ are available as
part of the `modwsgi documentation`_.

HTTPS Support
-------------

Expand All @@ -95,3 +105,5 @@ way to start a HTTPS server when using Connexion?
.. _minimal Basic Auth example application: https://github.com/zalando/connexion/tree/master/examples/swagger2/basicauth
.. _minimal API Key example application: https://github.com/zalando/connexion/tree/master/examples/oauth2/apikey
.. _minimal JWT example application: https://github.com/zalando/connexion/tree/master/examples/openapi3/jwt
.. _enabling authentication passthrough in modwsgi: https://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIPassAuthorization.html
.. _modwsgi documentation: https://modwsgi.readthedocs.io/en/develop/index.html

0 comments on commit c94fa61

Please sign in to comment.