-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from wisdom-oss/dev
Enhance OpenID Connect Plugin
- Loading branch information
Showing
9 changed files
with
318 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
<h1 align="center">API Gateway</h1> | ||
<h3 align="center">api-gateway</h3> | ||
<div align="center"> | ||
<p> | ||
🛡️ A <a href="">Kong API Gateway</a> extended with functionality for the WISdoM | ||
platform | ||
</p> | ||
<img height="150px" src="https://raw.githubusercontent.com/wisdom-oss/brand/main/svg/standalone_color.svg"> | ||
<h1>API Gateway</h1> | ||
<h3>api-gateway</h3> | ||
<p>🛡️ Extended Kong API Gateway for the WISdoM Platform</p> | ||
<img alt="GitHub Actions Workflow Status" src="https://img.shields.io/github/actions/workflow/status/wisdom-oss/api-gateway/docker.yaml?style=for-the-badge&label=Docker%20Build"> | ||
<a href="https://github.com/wisdom-oss/api-gateway/pkgs/container/api-gateway"> | ||
<img alt="Static Badge" src="https://img.shields.io/badge/ghcr.io-wisdom--oss%2Fapi--gateway-2496ED?style=for-the-badge&logo=docker&logoColor=white&labelColor=555555"> | ||
</a> | ||
</div> | ||
|
||
# About | ||
The [WISdoM project](https://github.com/wisdom-oss) utilizes the Kong API | ||
Gateway to route requests to their services. Since some needed functionality of | ||
the gateway is locked behind paid plugins, this repository contains some custom | ||
plugins which implement the following features: | ||
> [!NOTE] | ||
> This API Gateway is based on the Open Source Edition of the [Kong API Gateway](https://konghq.com/products/kong-gateway). | ||
> Therefore, features available in the free (closed-source) and enterprise (also | ||
> closed-source) edition are not available with this image. | ||
- [x] OpenID Connect Authentication/Authorization with JWT Validation | ||
The API Gateway is the central part of the WISdoM Plaform and manages the access | ||
to the microservices implemented for the platform. | ||
Furhtermore, it is extended by a plugin using the | ||
[`go-pdk`](https://github.com/Kong/go-pdk) to validate JWTs which are used in a | ||
standard deployment to authenticate and secure requests. | ||
> — [Read more](plugins/oidc/README.md) | ||
The plugins are implemented in Golang using IPC for communicating with the | ||
API Gateway. | ||
|
||
## How to use | ||
Since the API gateway in included in every deployment of the WISdoM platform, | ||
there are no extra steps you need to take. | ||
The API Gateway is autommatically configured using the | ||
[gateway-service-watcher](https://github.com/wisdom-oss/gateway-service-watcher) | ||
which acts as a watchdog to check the deployed containers on the host for their | ||
association to the WISdoM platform. | ||
> — [Read more](https://github.com/wisdom-oss/gateway-service-watcher) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.idea | ||
*.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.