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
`auth-server` can act as a proxy middleware or be configured in a stand-alone mode as well. It doesn't require any third-party software integration. Use one of the available repositories to configure backend storage, or implement one of your own.
6
+
This project provides tools to set up a custom authentication and authorization server.
7
+
`auth-server` can act as a proxy middleware or be configured in a stand-alone mode. It doesn't require any third-party software integration. Use one of the [available repositories](./repository) to configure backend storage, or implement one of your own.
6
8
7
9
## Introduction
8
10
***Authentication** is used by a server when the server needs to know exactly who is accessing their information or site.
9
11
***Authorization** is a process by which a server determines if the client has permission to use a resource or access a file.
10
12
11
-
Building an authentication and authorization strategy is always a challenging process.
12
-
Just a number of quick questions that immediately arise:
13
+
Creating an authentication and authorization strategy is always a complex process. A number of quick questions immediately arise:
14
+
13
15
* Should we set up separate services for authentication and authorization
14
16
* How do we handle access token creation and who is responsible for this
15
17
* Should we alter our REST service to support authorization flow
16
18
17
-
`auth-server` project tries to accumulate all those capabilities and act as a transparent authentication and authorization proxy middleware.
19
+
The `auth-server` project tries to accumulate all of those capabilities and act as a transparent authentication and authorization proxy middleware.
3. Client sends an authenticated request to the proxy server:
35
+
3. The user sends an authenticated request to the proxy server:
34
36
```
35
37
GET /foo HTTP/1.1
36
38
Host: localhost:8081
@@ -39,8 +41,8 @@ Just a number of quick questions that immediately arise:
39
41
40
42
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.
41
43
42
-
## Prerequisites
43
-
* `auth-server` written in Golang.
44
+
## Installation and Prerequisites
45
+
* `auth-server` is written in Golang.
44
46
To install the latest stable version of Go, visit https://golang.org/dl/
45
47
46
48
* 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).
@@ -56,8 +58,5 @@ To run `auth-server` as a [Traefik](https://docs.traefik.io/) middleware:
0 commit comments