Skip to content

Commit

Permalink
Merge pull request #123 from openziti/fix.edge.2209.client.api.ext.jw…
Browse files Browse the repository at this point in the history
…t.access

partly addresses openziti/edge#2209 by allowing anon access to ext jwt
  • Loading branch information
andrewpmartinez authored Jul 22, 2024
2 parents 359038c + dc19e14 commit 2987961
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 60 deletions.
6 changes: 1 addition & 5 deletions client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.26.21
version: 0.26.22
host: demo.ziti.dev
basePath: /edge/client/v1
paths:
Expand Down Expand Up @@ -2272,10 +2272,6 @@ paths:
$ref: '#/definitions/listEnumeratedCapabilitiesEnvelope'
/external-jwt-signers:
get:
security:
- ztSession: []
- oauth2:
- openid
description: Retrieves a list of external JWT signers for authentication
tags:
- External JWT Signer
Expand Down
2 changes: 1 addition & 1 deletion management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.26.21
version: 0.26.22
host: demo.ziti.dev
basePath: /edge/management/v1
paths:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rest_client_api_server/configure_ziti_edge_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func configureAPI(api *operations.ZitiEdgeClientAPI) http.Handler {
})
}
if api.ExternalJWTSignerListExternalJWTSignersHandler == nil {
api.ExternalJWTSignerListExternalJWTSignersHandler = external_jwt_signer.ListExternalJWTSignersHandlerFunc(func(params external_jwt_signer.ListExternalJWTSignersParams, principal interface{}) middleware.Responder {
api.ExternalJWTSignerListExternalJWTSignersHandler = external_jwt_signer.ListExternalJWTSignersHandlerFunc(func(params external_jwt_signer.ListExternalJWTSignersParams) middleware.Responder {
return middleware.NotImplemented("operation external_jwt_signer.ListExternalJWTSigners has not yet been implemented")
})
}
Expand Down
2 changes: 1 addition & 1 deletion rest_client_api_server/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 2 additions & 22 deletions rest_client_api_server/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rest_client_api_server/operations/ziti_edge_client_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rest_management_api_server/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rest_management_api_server/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/client.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
swagger: '2.0'
info:
version: 0.26.21
version: 0.26.22
title: Ziti Edge Client
description: OpenZiti Edge Client API
contact:
Expand Down
3 changes: 0 additions & 3 deletions source/client/ext-jwt-signers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ paths:
get:
summary: List Client Authentication External JWT
description: Retrieves a list of external JWT signers for authentication
security:
- ztSession: [ ]
- oauth2: [ openid ]
tags:
- External JWT Signer
operationId: listExternalJwtSigners
Expand Down
2 changes: 1 addition & 1 deletion source/management.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
swagger: '2.0'
info:
version: 0.26.21
version: 0.26.22
title: Ziti Edge Management
description: OpenZiti Edge Management API
contact:
Expand Down

0 comments on commit 2987961

Please sign in to comment.