git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fix links in docs

- Fixed a bunch of references to the repo, which were 404ing - Fixed a couple of things that 301/302ed - Fixed some in page references

commit8b61559b8d293d67df68ace0d892ea5f8ced0682 authorHenry Jenkins <henry@henryjenkins.name> dateSun 11 Aug 2019, 16:07 (7 years ago) parente1b70dc
6 files changed+11−10
docs/0_index.md+2−2 docs/2_auth.md+4−4 docs/6_request_signatures.md+1−1 docs/_config.yml+1 docs/configuration/configuration.md+1−1 docs/configuration/sessions.md+2−2
docs/0_index.md+2−2
@@ -12,7 +12,7 @@ to validate accounts by email, domain or group.
1212
1313**Note:** This repository was forked from [bitly/OAuth2_Proxy](https://github.com/bitly/oauth2_proxy) on 27/11/2018.
1414Versions v3.0.0 and up are from this fork and will have diverged from any changes in the original fork.
15−A list of changes can be seen in the [CHANGELOG](CHANGELOG.md).
15+A list of changes can be seen in the [CHANGELOG]({{ site.gitweb }}/CHANGELOG.md).
1616
1717[![Build Status](https://secure.travis-ci.org/pusher/oauth2_proxy.svg?branch=master)](http://travis-ci.org/pusher/oauth2_proxy)
1818
@@ -20,4 +20,4 @@ A list of changes can be seen in the [CHANGELOG](CHANGELOG.md).
2020
2121## Architecture
2222
23−![OAuth2 Proxy Architecture](https://cloud.githubusercontent.com/assets/45028/8027702/bd040b7a-0d6a-11e5-85b9-f8d953d04f39.png)
23+![OAuth2 Proxy Architecture](https://cloud.githubusercontent.com/assets/45028/8027702/bd040b7a-0d6a-11e5-85b9-f8d953d04f39.png)
docs/2_auth.md+4−4
@@ -103,7 +103,7 @@ If you are using GitHub enterprise, make sure you set the following to the appro
103103
104104### GitLab Auth Provider
105105
106−Whether you are using GitLab.com or self-hosting GitLab, follow [these steps to add an application](http://doc.gitlab.com/ce/integration/oauth_provider.html). Make sure to enable at least the `openid`, `profile` and `email` scopes.
106+Whether you are using GitLab.com or self-hosting GitLab, follow [these steps to add an application](https://docs.gitlab.com/ce/integration/oauth_provider.html). Make sure to enable at least the `openid`, `profile` and `email` scopes.
107107
108108Restricting by group membership is possible with the following option:
109109
@@ -126,7 +126,7 @@ For LinkedIn, the registration steps are:
126126
127127### Microsoft Azure AD Provider
128128
129−For adding an application to the Microsoft Azure AD follow [these steps to add an application](https://azure.microsoft.com/en-us/documentation/articles/active-directory-integrating-applications/).
129+For adding an application to the Microsoft Azure AD follow [these steps to add an application](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app).
130130
131131Take note of your `TenantId` if applicable for your situation. The `TenantId` can be used to override the default `common` authorization server with a tenant specific server.
132132
@@ -277,7 +277,7 @@ To authorize by email domain use `--email-domain=yourcompany.com`. To authorize
277277
278278## Adding a new Provider
279279
280−Follow the examples in the [`providers` package](providers/) to define a new
280+Follow the examples in the [`providers` package]({{ site.gitweb }}/providers/) to define a new
281281`Provider` instance. Add a new `case` to
282−[`providers.New()`](providers/providers.go) to allow `oauth2_proxy` to use the
282+[`providers.New()`]({{ site.gitweb }}/providers/providers.go) to allow `oauth2_proxy` to use the
283283new `Provider`.
docs/6_request_signatures.md+1−1
@@ -11,7 +11,7 @@ If `signature_key` is defined, proxied requests will be signed with the
1111`GAP-Signature` header, which is a [Hash-based Message Authentication Code
1212(HMAC)](https://en.wikipedia.org/wiki/Hash-based_message_authentication_code)
1313of selected request information and the request body [see `SIGNATURE_HEADERS`
14−in `oauthproxy.go`](./oauthproxy.go).
14+in `oauthproxy.go`]({{ site.gitweb }}/oauthproxy.go).
1515
1616`signature_key` must be of the form `algorithm:secretkey`, (ie: `signature_key = "sha1:secret0"`)
1717
docs/_config.yml+1
@@ -18,6 +18,7 @@ description: >- # this means to ignore newlines until "baseurl:"
1818 OAuth2_Proxy documentation site
1919baseurl: "/oauth2_proxy" # the subpath of your site, e.g. /blog
2020url: "https://pusher.github.io" # the base hostname & protocol for your site, e.g. http://example.com
21+gitweb: "https://github.com/pusher/oauth2_proxy/blob/master"
2122
2223# Build settings
2324markdown: kramdown
docs/configuration/configuration.md+1−1
@@ -14,7 +14,7 @@ To generate a strong cookie secret use `python -c 'import os,base64; print base6
1414
1515### Config File
1616
17−An example [oauth2_proxy.cfg](https://github.com/pusher/oauth2_proxy/blob/master/contrib/oauth2_proxy.cfg.example) config file is in the contrib directory. It can be used by specifying `-config=/etc/oauth2_proxy.cfg`
17+An example [oauth2_proxy.cfg]({{ site.gitweb }}/contrib/oauth2_proxy.cfg.example) config file is in the contrib directory. It can be used by specifying `-config=/etc/oauth2_proxy.cfg`
1818
1919### Command Line Options
2020
docs/configuration/sessions.md+2−2
@@ -15,8 +15,8 @@ The OAuth2 Proxy uses a Cookie to track user sessions and will store the session
1515data in one of the available session storage backends.
1616
1717At present the available backends are (as passed to `--session-store-type`):
18−- [cookie](cookie-storage) (default)
19−- [redis](redis-storage)
18+- [cookie](#cookie-storage) (default)
19+- [redis](#redis-storage)
2020
2121### Cookie Storage
2222