Skip to content

Commit

Permalink
feat: HA OIDC auth mechanisms (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect authored Feb 13, 2025
1 parent d1a1ff7 commit 13e7b07
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
]
},
"dependencies": {
"@openziti/ziti-browzer-core": "^0.51.3",
"@openziti/ziti-browzer-core": "^0.52.0",
"async-mutex": "^0.5.0",
"cheerio": "^1.0.0-rc.12",
"jwt-decode": "^3.1.2",
Expand Down
1 change: 1 addition & 0 deletions src/ZitiFirstStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ class ZitiFirstStrategy extends CacheFirst /* NetworkFirst */ {
id_token: this._zitiBrowzerServiceWorkerGlobalScope._zitiConfig.id_token,
access_token: this._zitiBrowzerServiceWorkerGlobalScope._zitiConfig.access_token,
bootstrapperTargetService: this._zitiBrowzerServiceWorkerGlobalScope._zitiConfig.browzer.bootstrapper.target.service,
bootstrapperHost: this._zitiBrowzerServiceWorkerGlobalScope._zitiConfig.browzer.bootstrapper.self.host,
});
this.logger.trace(`_initialize: ZitiContext created`);
this._zitiBrowzerServiceWorkerGlobalScope._zitiContext = this._zitiContext;
Expand Down
14 changes: 10 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -974,10 +974,10 @@
"@types/emscripten" "^1.39.6"
"@wasmer/wasi" "^1.0.2"

"@openziti/ziti-browzer-core@^0.51.3":
version "0.51.3"
resolved "https://registry.yarnpkg.com/@openziti/ziti-browzer-core/-/ziti-browzer-core-0.51.3.tgz#e5829869132f59efc819c7ea22596e49452c4640"
integrity sha512-yg0WQJKRrL7BpSF9l0NABrhqj6Q6bt8MDNZ66n9ObyUXFvLui5pspnTzLOvFHFFkPzM7C1U8eRrpSGI4UDRqiQ==
"@openziti/ziti-browzer-core@^0.52.0":
version "0.52.0"
resolved "https://registry.yarnpkg.com/@openziti/ziti-browzer-core/-/ziti-browzer-core-0.52.0.tgz#a75eb6b4e9e73b771df63c81ab4cef596753b732"
integrity sha512-K2FW4mc84QlZdp4c3y/OhesGp8oo1HxeMbW9J15HaRjGYPlBK/C009UjbUw6tWB7tLxLeKoA86uKKrX1Tm72BA==
dependencies:
"@openziti/libcrypto-js" "^0.24.0"
"@openziti/ziti-browzer-edge-client" "^0.7.0"
Expand All @@ -1002,6 +1002,7 @@
md5.js "^1.3.5"
mime-types "^2.1.35"
multistream "^4.1.0"
oauth4webapi "^3.1.4"
pako "^2.1.0"
pkijs "^3.2.4"
process "^0.11.10"
Expand Down Expand Up @@ -4361,6 +4362,11 @@ number-is-nan@^1.0.0:
resolved "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz"
integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=

oauth4webapi@^3.1.4:
version "3.1.4"
resolved "https://registry.yarnpkg.com/oauth4webapi/-/oauth4webapi-3.1.4.tgz#50695385cea8e7a43f3e2e23bc33ea27faece4a7"
integrity sha512-eVfN3nZNbok2s/ROifO0UAc5G8nRoLSbrcKJ09OqmucgnhXEfdIQOR4gq1eJH1rN3gV7rNw62bDEgftsgFtBEg==

object-copy@^0.1.0:
version "0.1.0"
resolved "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz"
Expand Down

0 comments on commit 13e7b07

Please sign in to comment.