@faable/faable 1.5.17-next.26 → 1.5.17-next.27

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.
@@ -5,8 +5,8 @@ const exchangeGithubOidcToken = async (gh_token) => {
5
5
  const res = await client.post("/auth/github-oidc", {
6
6
  token: gh_token
7
7
  });
8
- const { token, app_id } = res.data;
9
- return { token, app_id };
8
+ const { access_token, app_id } = res.data;
9
+ return { access_token, app_id };
10
10
  };
11
11
  const oidc_strategy = (config) => {
12
12
  const { idToken } = config;
@@ -21,7 +21,7 @@ const oidc_strategy = (config) => {
21
21
  token_ex = ex;
22
22
  }
23
23
  return {
24
- Authorization: `Bearer ${token_ex.token}`,
24
+ Authorization: `Bearer ${token_ex.access_token}`,
25
25
  };
26
26
  },
27
27
  app_id: async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/faable",
3
- "version": "1.5.17-next.26",
3
+ "version": "1.5.17-next.27",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "author": "Marc Pomar <marc@faable.com>",