You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Proxy invokes `auth-server` as an authentication/authorization middleware. In case the token was successfully authenticated/authorized, the request will be routed to the target service. Otherwise, an auth error code will be returned to the client.
49
49
50
50
## Installation and Prerequisites
51
-
* `auth-server` is written in Golang.
51
+
* `auth-server` is written in Go (1.24+).
52
52
To install the latest stable version of Go, visit the [releases page](https://golang.org/dl/).
53
53
54
54
* Read the following [instructions](./secrets/README.md) to generate keys required to sign the token. Specify the location of the generated certificates in the service configuration file. An example of the configuration file can be found [here](config/service_config.yml).
@@ -60,15 +60,50 @@ To install the latest stable version of Go, visit the [releases page](https://go
60
60
61
61
* To run the project using Docker, visit their [page](https://www.docker.com/get-started) to get started. Docker images are available under the [GitHub Packages](https://github.com/reugn/auth-server/packages).
62
62
63
-
* Install `docker-compose` to get started with the examples.
63
+
* Install Docker to get started with the examples.
64
+
65
+
## Configuration
66
+
67
+
### Proxy Providers
68
+
69
+
The `proxy` setting in your configuration determines how `auth-server` parses incoming requests to extract the original method and URI. This is important when running behind a reverse proxy that may modify or forward request details via headers.
70
+
71
+
| Provider | Description | Headers Used |
72
+
|----------|-------------|--------------|
73
+
| `direct` | No proxy, use actual request values | None |
0 commit comments