Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions airflow-core/docs/core-concepts/auth-manager/simple/token.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Example

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X 'POST' \
"${ENDPOINT_URL}/auth/token" \
-H 'Content-Type: application/json' \
Expand All @@ -45,5 +45,5 @@ If ``[core] simple_auth_manager_all_admins`` is set to True, you can also genera

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X 'GET' "${ENDPOINT_URL}/auth/token"
2 changes: 1 addition & 1 deletion airflow-core/docs/howto/docker-compose/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Here is a sample ``curl`` command, which sends a request to retrieve a pool list

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X GET \
--user "airflow:airflow" \
"${ENDPOINT_URL}/api/v1/pools"
Expand Down
4 changes: 2 additions & 2 deletions airflow-core/docs/security/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Request

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X POST ${ENDPOINT_URL}/auth/token \
-H "Content-Type: application/json" \
-d '{
Expand All @@ -63,7 +63,7 @@ Use the JWT token to call Airflow public API

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X GET ${ENDPOINT_URL}/api/v2/dags \
-H "Authorization: Bearer <JWT-TOKEN>"

Expand Down
4 changes: 2 additions & 2 deletions providers/fab/docs/auth-manager/api-authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ work. This means that your user name should be ``user_name@REALM``.
.. code-block:: bash

kinit user_name@REALM
ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X GET \
--negotiate \ # enables Negotiate (SPNEGO) authentication
--service airflow \ # matches the `airflow` service name in the `airflow/fully.qualified.domainname@REALM` principal
Expand Down Expand Up @@ -106,7 +106,7 @@ Here is a sample curl command you can use to validate the setup:

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X GET \
--user "username:password" \
"${ENDPOINT_URL}/api/v1/pools"
Expand Down
2 changes: 1 addition & 1 deletion providers/fab/docs/auth-manager/token.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Example

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"
curl -X 'POST' \
"${ENDPOINT_URL}/auth/token" \
-H 'Content-Type: application/json' \
Expand Down
2 changes: 1 addition & 1 deletion providers/google/docs/api-auth-backend/google-openid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ look like the following.

.. code-block:: bash

ENDPOINT_URL="http://localhost:8080/"
ENDPOINT_URL="http://localhost:8080"

AUDIENCE="project-id-random-value.apps.googleusercontent.com"
ID_TOKEN="$(gcloud auth print-identity-token "--audiences=${AUDIENCE}")"
Expand Down