git.iko.soy/typeable/oauth2-proxy
on master help sign in
Add docs and record in CHANGELOG
commit800a3694c247bceaf8f9a358fcfeed4d12bccb9c authorKarel Pokorny <Karel.Pokorny@konicaminolta.cz> dateSun 28 Jul 2019, 16:26 (7 years ago) parent583ec18
2 files changed+16
CHANGELOG.md+1 docs/2_auth.md+15
CHANGELOG.md+1
@@ -31,6 +31,7 @@
3131
3232## Changes since v3.2.0
3333
34+- [#226](https://github.com/pusher/oauth2_proxy/pull/227) Add Keycloak provider (@Ofinka)
3435- [#178](https://github.com/pusher/outh2_proxy/pull/178) Add Silence Ping Logging and Exclude Logging Paths flags (@kskewes)
3536- [#209](https://github.com/pusher/outh2_proxy/pull/209) Improve docker build caching of layers (@dekimsey)
3637- [#186](https://github.com/pusher/oauth2_proxy/pull/186) Make config consistent (@JoelSpeed)
docs/2_auth.md+15
@@ -15,6 +15,7 @@ Valid providers are :
1515- [Azure](#azure-auth-provider)
1616- [Facebook](#facebook-auth-provider)
1717- [GitHub](#github-auth-provider)
18+- [Keycloak](#keycloak-auth-provider)
1819- [GitLab](#gitlab-auth-provider)
1920- [LinkedIn](#linkedin-auth-provider)
2021- [login.gov](#logingov-provider)
@@ -101,6 +102,20 @@ If you are using GitHub enterprise, make sure you set the following to the appro
101102 -redeem-url="http(s)://<enterprise github host>/login/oauth/access_token"
102103 -validate-url="http(s)://<enterprise github host>/api/v3"
103104
105+### Keycloak Auth Provider
106+
107+1. Create new client in your Keycloak with **Access Type** 'confidental'.
108+2. Create a mapper with **Mapper Type** 'Group Membership'.
109+
110+Make sure you set the following to the appropriate url:
111+
112+ -provider=keycloak
113+ -client-id=<client you have created>
114+ -client-secret=<your client's secret>
115+ -login-url="http(s)://<keycloak host>/realms/<your realm>/protocol/openid-connect/auth"
116+ -redeem-url="http(s)://<keycloak host>/realms/master/<your realm>/openid-connect/auth/token"
117+ -validate-url="http(s)://<keycloak host>/realms/master/<your realm>/openid-connect/userinfo"
118+
104119### GitLab Auth Provider
105120
106121Whether 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)