From a39cd71986f5bef454bb59800f4a6d35c19c2f23 Mon Sep 17 00:00:00 2001 From: Raimundo Henriques Date: Wed, 17 Jul 2024 10:00:19 +0100 Subject: [PATCH] fix: occurrences of /2/auth/token --- endpoint/README.md | 6 +++--- spec/rest-api/openapi-2.2.1-wip.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/endpoint/README.md b/endpoint/README.md index d2d2678..7f3edbb 100644 --- a/endpoint/README.md +++ b/endpoint/README.md @@ -20,10 +20,10 @@ The following endpoints are available: - `/2/footprints` implementing the `ListFootprints` action - `/2/footprints/` implementing the `GetFootprint` action - `/2/events` implementing the `Events` action - - `/2/auth/token` implementing `Authenticate` action + - `/auth/token` implementing `Authenticate` action - Additional endpoints are: - - `/2/.well-known/openid-configuration`: OpenId provider configuration document - - `/2/jwks`: the JSON Web Key Set used to encode and sign the authentication token + - `/.well-known/openid-configuration`: OpenId provider configuration document + - `/jwks`: the JSON Web Key Set used to encode and sign the authentication token - `/openapi.json`: OpenAPI description file which is automatically generated from the types defined in [`api_types.rs`](src/api_types.rs) and endpoints defined in [`main.rs`](src/main.rs) - Swagger UI: `/swagger-ui/` if you fancy a visualization diff --git a/spec/rest-api/openapi-2.2.1-wip.json b/spec/rest-api/openapi-2.2.1-wip.json index 222162d..dcdd0f6 100644 --- a/spec/rest-api/openapi-2.2.1-wip.json +++ b/spec/rest-api/openapi-2.2.1-wip.json @@ -964,7 +964,7 @@ "type": "oauth2", "flows": { "clientCredentials": { - "tokenUrl": "/2/auth/token", + "tokenUrl": "/auth/token", "scopes": { "footprint:list": "Ability to list footprints", "footprint:read": "Ability to access individual footprints"