Skip to content
Snippets Groups Projects
Commit 9a05ee94 authored by Agócs Dániel's avatar Agócs Dániel
Browse files

Updated docs

parent 747295b9
No related branches found
No related tags found
No related merge requests found
![OAuth2 Proxy](/docs/logos/OAuth2_Proxy_horizontal.svg) ![OAuth2 Proxy](/docs/logos/OAuth2_Proxy_horizontal.svg)
AuthSCH támogatással
Docker image a [KSZK Registry](https://nexus.kszk.bme.hu)ben
Pullold SCHAcc belépés után a `registry.kszk.bme.hu/oauth2_proxy_authsch` image-t.
Bővebb infó [itt](docs/2_auth.md).
[![Build Status](https://secure.travis-ci.org/oauth2-proxy/oauth2-proxy.svg?branch=master)](http://travis-ci.org/oauth2-proxy/oauth2-proxy) [![Build Status](https://secure.travis-ci.org/oauth2-proxy/oauth2-proxy.svg?branch=master)](http://travis-ci.org/oauth2-proxy/oauth2-proxy)
[![Go Report Card](https://goreportcard.com/badge/github.com/oauth2-proxy/oauth2-proxy)](https://goreportcard.com/report/github.com/oauth2-proxy/oauth2-proxy) [![Go Report Card](https://goreportcard.com/badge/github.com/oauth2-proxy/oauth2-proxy)](https://goreportcard.com/report/github.com/oauth2-proxy/oauth2-proxy)
......
...@@ -25,11 +25,27 @@ Valid providers are : ...@@ -25,11 +25,27 @@ Valid providers are :
- [DigitalOcean](#digitalocean-auth-provider) - [DigitalOcean](#digitalocean-auth-provider)
- [Bitbucket](#bitbucket-auth-provider) - [Bitbucket](#bitbucket-auth-provider)
- [Gitea](#gitea-auth-provider) - [Gitea](#gitea-auth-provider)
- [Auth.SCH](#authsch-auth-provider)
The provider can be selected using the `provider` configuration value. The provider can be selected using the `provider` configuration value.
Please note that not all providers support all claims. The `preferred_username` claim is currently only supported by the OpenID Connect provider. Please note that not all providers support all claims. The `preferred_username` claim is currently only supported by the OpenID Connect provider.
### Auth.SCH Auth Provider
1. Csinálj magadnak kliens ID-t az https://admin.sch.bme.hu oldalon a fejlesztői konzolban
2. Callback URL-nek a webroot/oauth2/callback címet állítsd be, pl: https://domainnev.hu/oauth2/callback
3. Állítsd be a proxyt:
```
--provider=authsch
--client-id=<KLIENS ID>
--client-secret=<KLIENS SECRET>
```
4. Van lehetőség AD group matchelésre is:
```
--authsch-group=<AD group>
```
### Google Auth Provider ### Google Auth Provider
For Google, the registration steps are: For Google, the registration steps are:
......
...@@ -27,6 +27,7 @@ An example [oauth2-proxy.cfg]({{ site.gitweb }}/contrib/oauth2-proxy.cfg.example ...@@ -27,6 +27,7 @@ An example [oauth2-proxy.cfg]({{ site.gitweb }}/contrib/oauth2-proxy.cfg.example
| `--auth-logging` | bool | Log authentication attempts | true | | `--auth-logging` | bool | Log authentication attempts | true |
| `--auth-logging-format` | string | Template for authentication log lines | see [Logging Configuration](#logging-configuration) | | `--auth-logging-format` | string | Template for authentication log lines | see [Logging Configuration](#logging-configuration) |
| `--authenticated-emails-file` | string | authenticate against emails via file (one per line) | | | `--authenticated-emails-file` | string | authenticate against emails via file (one per line) | |
| `--authsch-group` | string | Auth.SCH AD group matching | `""` means any gorup |
| `--azure-tenant` | string | go to a tenant-specific or common (tenant-independent) endpoint. | `"common"` | | `--azure-tenant` | string | go to a tenant-specific or common (tenant-independent) endpoint. | `"common"` |
| `--basic-auth-password` | string | the password to set when passing the HTTP Basic Auth header | | | `--basic-auth-password` | string | the password to set when passing the HTTP Basic Auth header | |
| `--client-id` | string | the OAuth Client ID: ie: `"123456.apps.googleusercontent.com"` | | | `--client-id` | string | the OAuth Client ID: ie: `"123456.apps.googleusercontent.com"` | |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment