sst 3.0.30 → 3.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ export const OauthAdapter =
10
10
  function getClient(c) {
11
11
  const callback = new URL(c.req.url);
12
12
  callback.pathname = callback.pathname.replace(/authorize\/.*$/, "callback");
13
+ callback.search = "";
13
14
  callback.host = c.req.header("x-forwarded-host") || callback.host;
14
15
  return [
15
16
  callback,
@@ -5,6 +5,7 @@ export const OidcAdapter = /* @__PURE__ */ (config) => {
5
5
  routes.get("/authorize", async (c) => {
6
6
  const callback = new URL(c.req.url);
7
7
  callback.pathname = callback.pathname.replace(/authorize\/.*$/, "callback");
8
+ callback.search = "";
8
9
  callback.host = c.req.header("x-forwarded-host") || callback.host;
9
10
  const client = new config.issuer.Client({
10
11
  client_id: config.clientID,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "sst",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
- "version": "3.0.30",
6
+ "version": "3.0.31",
7
7
  "main": "./dist/index.js",
8
8
  "exports": {
9
9
  ".": "./dist/index.js",