Files
connexion/examples/openapi3/jwt
Christian Clauss 1012721d2d Upgrade isort==5.9.1 (#1388)
* Upgrade isort==5.9.1

* isort --thirdparty connexion,aiohttp ./tests

* isort --thirdparty aiohttp,connexion --check-only --diff .

* cd tests before running isort
2021-07-07 12:43:36 +02:00
..
2021-07-07 12:43:36 +02:00
2021-07-04 12:33:58 +02:00

=======================
JWT Auth Example
=======================

Running:

.. code-block:: bash

    $ sudo pip3 install -r requirements.txt
    $ ./app.py

Now open your browser and go to http://localhost:8080/ui/ to see the Swagger UI.
Use endpoint **/auth** to generate JWT token, copy it, then click **Authorize** button and paste the token.
Now you can use endpoint **/secret** to check authentication.