Skip to content
Snippets Groups Projects
Unverified Commit a6d55e66 authored by Rohith Jayawardene's avatar Rohith Jayawardene Committed by GitHub
Browse files

Merge pull request #397 from gambol99/http_client_cookie

Http Only Cookie Default
parents 3c739162 a7f6c833
No related branches found
No related tags found
No related merge requests found
#### **2.2.3 (Unreleased)** #### **2.3.0 (Unreleased)**
FEATURES: FEATURES:
* Added the ability to use a "any" operation on the roles rather then just "and" with the inclusion of a `require-any-role` [#PR389](https://github.com/gambol99/keycloak-proxy/pull/389) * Added the ability to use a "any" operation on the roles rather then just "and" with the inclusion of a `require-any-role` [#PR389](https://github.com/gambol99/keycloak-proxy/pull/389)
* Added a `--enable-request-id` option to inject a request id into the upstream request [#PR392](https://github.com/gambol99/keycloak-proxy/pull/392) * Added a `--enable-request-id` option to inject a request id into the upstream request [#PR392](https://github.com/gambol99/keycloak-proxy/pull/392)
* Added the ability for the proxy to generate self-signed certificates for use via the `--enable-self-signed-tls` [#PR394](https://github.com/gambol99/keycloak-proxy/pull/394) * Added the ability for the proxy to generate self-signed certificates for use via the `--enable-self-signed-tls` [#PR394](https://github.com/gambol99/keycloak-proxy/pull/394)
BREAK CHANGES
* Added the http-cookie-only option as default true [#PR397](https://github.com/gambol99/keycloak-proxy/pull/397)
#### **2.2.2** #### **2.2.2**
FEATURES: FEATURES:
......
...@@ -42,14 +42,15 @@ func newDefaultConfig() *Config { ...@@ -42,14 +42,15 @@ func newDefaultConfig() *Config {
EnableDefaultDeny: true, EnableDefaultDeny: true,
EnableSessionCookies: true, EnableSessionCookies: true,
EnableTokenHeader: true, EnableTokenHeader: true,
SelfSignedTLSHostnames: hostnames, HTTPOnlyCookie: true,
SelfSignedTLSExpiration: 3 * time.Hour,
Headers: make(map[string]string), Headers: make(map[string]string),
LetsEncryptCacheDir: "./cache/", LetsEncryptCacheDir: "./cache/",
MatchClaims: make(map[string]string), MatchClaims: make(map[string]string),
OAuthURI: "/oauth", OAuthURI: "/oauth",
OpenIDProviderTimeout: 30 * time.Second, OpenIDProviderTimeout: 30 * time.Second,
PreserveHost: false, PreserveHost: false,
SelfSignedTLSExpiration: 3 * time.Hour,
SelfSignedTLSHostnames: hostnames,
RequestIDHeader: "X-Request-ID", RequestIDHeader: "X-Request-ID",
ResponseHeaders: make(map[string]string), ResponseHeaders: make(map[string]string),
SecureCookie: true, SecureCookie: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment