sst 3.0.1-20 → 3.0.1-21

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.
@@ -115,6 +115,7 @@ export function AuthHandler(input) {
115
115
  },
116
116
  };
117
117
  app.get("/token", async (c) => {
118
+ console.log("token request");
118
119
  const form = await c.req.formData();
119
120
  if (form.get("grant_type") !== "authorization_code") {
120
121
  c.status(400);
@@ -140,6 +141,7 @@ export function AuthHandler(input) {
140
141
  });
141
142
  app.use("/:provider/authorize", async (c, next) => {
142
143
  const provider = c.req.param("provider");
144
+ console.log("authorize request for", provider);
143
145
  const response_type = c.req.query("response_type") || getCookie(c, "response_type");
144
146
  const redirect_uri = c.req.query("redirect_uri") || getCookie(c, "redirect_uri");
145
147
  const state = c.req.query("state") || getCookie(c, "state");
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "sst",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
- "version": "3.0.1-20",
6
+ "version": "3.0.1-21",
7
7
  "main": "./dist/index.js",
8
8
  "exports": {
9
9
  ".": "./dist/index.js",