Skip to content

Commit

Permalink
fix: occurrences of /2/auth/token
Browse files Browse the repository at this point in the history
  • Loading branch information
raimundo-henriques committed Jul 17, 2024
1 parent e874867 commit a39cd71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions endpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ The following endpoints are available:
- `/2/footprints` implementing the `ListFootprints` action
- `/2/footprints/<footprint-id>` 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

Expand Down
2 changes: 1 addition & 1 deletion spec/rest-api/openapi-2.2.1-wip.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a39cd71

Please sign in to comment.