mirror of
https://github.com/openziti/zrok.git
synced 2025-08-24 05:55:38 +02:00
Merge pull request #1029 from openziti/v1.0_masquerade
v1.1.1 Client Compatibility Fix (#1028)
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## v1.1.1
|
||||||
|
|
||||||
|
FIX: Masquerade as `v1.0-v1.1.1 [gitHash]` when performing client version checks. Will be replaced with the usual client identifier in `v1.1.2` when the regular expressions for controlling client compatibility are externalized in the controller config (https://github.com/openziti/zrok/issues/1028)
|
||||||
|
|
||||||
## v1.1.0
|
## v1.1.0
|
||||||
|
|
||||||
FEATURE: Rewritten and improved `publicProxy` package (`zrok access public`), with support for extensible OAuth-compliant identity providers. The `publicProxy` configuration now supports any number of configured OAuth-compliant providers (rather than just a single `google` provider and/or a single `github` provider). Also includes a new OIDC-compliant generic IDP provider integration. Improvements to authentication flows and security all around. See the [updated guide](https://docs.zrok.io/docs/guides/self-hosting/oauth/configuring-oauth/) on using OAuth-based identity providers with the zrok public frontend (https://github.com/openziti/zrok/issues/968)
|
FEATURE: Rewritten and improved `publicProxy` package (`zrok access public`), with support for extensible OAuth-compliant identity providers. The `publicProxy` configuration now supports any number of configured OAuth-compliant providers (rather than just a single `google` provider and/or a single `github` provider). Also includes a new OIDC-compliant generic IDP provider integration. Improvements to authentication flows and security all around. See the [updated guide](https://docs.zrok.io/docs/guides/self-hosting/oauth/configuring-oauth/) on using OAuth-based identity providers with the zrok public frontend (https://github.com/openziti/zrok/issues/968)
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
package env_v0_3
|
package env_v0_3
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
@@ -52,7 +53,7 @@ func (r *Root) Client() (*rest_client_zrok.Zrok, error) {
|
|||||||
zrok := rest_client_zrok.New(transport, strfmt.Default)
|
zrok := rest_client_zrok.New(transport, strfmt.Default)
|
||||||
_, err = zrok.Metadata.ClientVersionCheck(&metadata2.ClientVersionCheckParams{
|
_, err = zrok.Metadata.ClientVersionCheck(&metadata2.ClientVersionCheckParams{
|
||||||
Body: metadata2.ClientVersionCheckBody{
|
Body: metadata2.ClientVersionCheckBody{
|
||||||
ClientVersion: build.String(),
|
ClientVersion: fmt.Sprintf("v1.0-%s", build.String()), // TODO: go back to build.String()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
package env_v0_4
|
package env_v0_4
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
@@ -52,7 +53,7 @@ func (r *Root) Client() (*rest_client_zrok.Zrok, error) {
|
|||||||
zrok := rest_client_zrok.New(transport, strfmt.Default)
|
zrok := rest_client_zrok.New(transport, strfmt.Default)
|
||||||
_, err = zrok.Metadata.ClientVersionCheck(&metadata2.ClientVersionCheckParams{
|
_, err = zrok.Metadata.ClientVersionCheck(&metadata2.ClientVersionCheckParams{
|
||||||
Body: metadata2.ClientVersionCheckBody{
|
Body: metadata2.ClientVersionCheckBody{
|
||||||
ClientVersion: build.String(),
|
ClientVersion: fmt.Sprintf("v1.0-%s", build.String()), // TODO: go back to build.String()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user