@backstage/plugin-auth-backend-module-oauth2-proxy-provider 0.1.6 → 0.1.7-next.2

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.
package/CHANGELOG.md CHANGED
@@ -1,36 +1,34 @@
1
1
  # @backstage/plugin-auth-backend-module-oauth2-proxy-provider
2
2
 
3
- ## 0.1.6
3
+ ## 0.1.7-next.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/plugin-auth-node@0.4.8
9
- - @backstage/backend-plugin-api@0.6.13
8
+ - @backstage/plugin-auth-node@0.4.9-next.2
9
+ - @backstage/backend-plugin-api@0.6.14-next.2
10
+ - @backstage/errors@1.2.4-next.0
10
11
 
11
- ## 0.1.5
12
+ ## 0.1.7-next.1
12
13
 
13
14
  ### Patch Changes
14
15
 
15
16
  - Updated dependencies
16
- - @backstage/plugin-auth-node@0.4.7
17
- - @backstage/backend-plugin-api@0.6.12
17
+ - @backstage/backend-plugin-api@0.6.14-next.1
18
+ - @backstage/plugin-auth-node@0.4.9-next.1
19
+ - @backstage/errors@1.2.4-next.0
18
20
 
19
- ## 0.1.4
21
+ ## 0.1.6-next.0
20
22
 
21
23
  ### Patch Changes
22
24
 
25
+ - 2af5354: Bump dependency `jose` to v5
26
+ - e77d7a9: Internal refactor to avoid deprecated method.
27
+ - b1b012d: Fix issue with `providerInfo` not being set properly for some proxy providers, by making `providerInfo` an explicit optional return from `authenticate`
23
28
  - Updated dependencies
24
- - @backstage/plugin-auth-node@0.4.6
25
- - @backstage/backend-plugin-api@0.6.11
26
-
27
- ## 0.1.3
28
-
29
- ### Patch Changes
30
-
31
- - 65f76be: Fix issue with `providerInfo` not being set properly for some proxy providers, by making `providerInfo` an explicit optional return from `authenticate`
32
- - Updated dependencies
33
- - @backstage/plugin-auth-node@0.4.5
29
+ - @backstage/plugin-auth-node@0.4.8-next.0
30
+ - @backstage/errors@1.2.4-next.0
31
+ - @backstage/backend-plugin-api@0.6.13-next.0
34
32
 
35
33
  ## 0.1.2
36
34
 
package/dist/index.cjs.js CHANGED
@@ -20,9 +20,10 @@ const oauth2ProxyAuthenticator = pluginAuthNode.createProxyAuthenticator({
20
20
  async initialize() {
21
21
  },
22
22
  async authenticate({ req }) {
23
+ var _a;
23
24
  try {
24
25
  const authHeader = req.header(OAUTH2_PROXY_JWT_HEADER);
25
- const jwt = pluginAuthNode.getBearerTokenFromAuthorizationHeader(authHeader);
26
+ const jwt = (_a = authHeader == null ? void 0 : authHeader.match(/^Bearer[ ]+(\S+)$/i)) == null ? void 0 : _a[1];
26
27
  const decodedJWT = jwt && jose.decodeJwt(jwt);
27
28
  const result = {
28
29
  fullProfile: decodedJWT || {},
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../src/authenticator.ts","../src/resolvers.ts","../src/module.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AuthenticationError } from '@backstage/errors';\nimport {\n createProxyAuthenticator,\n getBearerTokenFromAuthorizationHeader,\n} from '@backstage/plugin-auth-node';\nimport { decodeJwt } from 'jose';\nimport { OAuth2ProxyResult } from './types';\n\n/**\n * NOTE: This may come in handy if you're doing work on this provider:\n * plugins/auth-backend/examples/docker-compose.oauth2-proxy.yaml\n *\n * @public\n */\nexport const OAUTH2_PROXY_JWT_HEADER = 'X-OAUTH2-PROXY-ID-TOKEN';\n\n/** @public */\nexport const oauth2ProxyAuthenticator = createProxyAuthenticator({\n defaultProfileTransform: async (result: OAuth2ProxyResult) => {\n return {\n profile: {\n email: result.getHeader('x-forwarded-email'),\n displayName:\n result.getHeader('x-forwarded-preferred-username') ||\n result.getHeader('x-forwarded-user'),\n },\n };\n },\n async initialize() {},\n async authenticate({ req }) {\n try {\n const authHeader = req.header(OAUTH2_PROXY_JWT_HEADER);\n const jwt = getBearerTokenFromAuthorizationHeader(authHeader);\n const decodedJWT = jwt && decodeJwt(jwt);\n\n const result = {\n fullProfile: decodedJWT || {},\n accessToken: jwt || '',\n headers: req.headers,\n getHeader(name: string) {\n if (name.toLocaleLowerCase('en-US') === 'set-cookie') {\n throw new Error('Access Set-Cookie via the headers object instead');\n }\n return req.get(name);\n },\n };\n\n return {\n result,\n providerInfo: {\n accessToken: result.accessToken,\n },\n };\n } catch (e) {\n throw new AuthenticationError('Authentication failed', e);\n }\n },\n});\n","/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createSignInResolverFactory,\n SignInInfo,\n} from '@backstage/plugin-auth-node';\nimport { OAuth2ProxyResult } from './types';\n\n/**\n * @public\n */\nexport namespace oauth2ProxySignInResolvers {\n export const forwardedUserMatchingUserEntityName =\n createSignInResolverFactory({\n create() {\n return async (info: SignInInfo<OAuth2ProxyResult>, ctx) => {\n const name = info.result.getHeader('x-forwarded-user');\n if (!name) {\n throw new Error('Request did not contain a user');\n }\n return ctx.signInWithCatalogUser({\n entityRef: { name },\n });\n };\n },\n });\n}\n","/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createBackendModule } from '@backstage/backend-plugin-api';\nimport {\n authProvidersExtensionPoint,\n createProxyAuthProviderFactory,\n commonSignInResolvers,\n} from '@backstage/plugin-auth-node';\nimport { oauth2ProxyAuthenticator } from './authenticator';\nimport { oauth2ProxySignInResolvers } from './resolvers';\n\n/** @public */\nexport const authModuleOauth2ProxyProvider = createBackendModule({\n pluginId: 'auth',\n moduleId: 'oauth2-proxy-provider',\n register(reg) {\n reg.registerInit({\n deps: {\n providers: authProvidersExtensionPoint,\n },\n async init({ providers }) {\n providers.registerProvider({\n providerId: 'oauth2Proxy',\n factory: createProxyAuthProviderFactory({\n authenticator: oauth2ProxyAuthenticator,\n signInResolverFactories: {\n ...commonSignInResolvers,\n ...oauth2ProxySignInResolvers,\n },\n }),\n });\n },\n });\n },\n});\n"],"names":["createProxyAuthenticator","getBearerTokenFromAuthorizationHeader","decodeJwt","AuthenticationError","oauth2ProxySignInResolvers","createSignInResolverFactory","createBackendModule","authProvidersExtensionPoint","createProxyAuthProviderFactory","commonSignInResolvers"],"mappings":";;;;;;;;;AA8BO,MAAM,uBAA0B,GAAA,0BAAA;AAGhC,MAAM,2BAA2BA,uCAAyB,CAAA;AAAA,EAC/D,uBAAA,EAAyB,OAAO,MAA8B,KAAA;AAC5D,IAAO,OAAA;AAAA,MACL,OAAS,EAAA;AAAA,QACP,KAAA,EAAO,MAAO,CAAA,SAAA,CAAU,mBAAmB,CAAA;AAAA,QAC3C,aACE,MAAO,CAAA,SAAA,CAAU,gCAAgC,CACjD,IAAA,MAAA,CAAO,UAAU,kBAAkB,CAAA;AAAA,OACvC;AAAA,KACF,CAAA;AAAA,GACF;AAAA,EACA,MAAM,UAAa,GAAA;AAAA,GAAC;AAAA,EACpB,MA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gCAAgC,CAAA,CAAA;AAAA,SAClD;AACA,QAAA,OAAO,IAAI,qBAAsB,CAAA;AAAA,UAC/B,SAAA,EAAW,EAAE,IAAK,EAAA;AAAA,SACnB,CAAA,CAAA;AAAA,OACH,CAAA;AAAA,KACF;AAAA,GACD,CAAA,CAAA;AAAA,CAdY,EAAA,0BAAA,KAAA,0BAAA,GAAA,EAAA,CAAA,CAAA;;ACCV,MAAM,gCAAgCC,oCAAoB,CAAA;AAAA,EAC/D,QAAU,EAAA,MAAA;AAAA,EACV,QAAU,EAAA,uBAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,SAAW,EAAAC,0CAAA;AAAA,OACb;AAAA,MACA,MAAM,IAAA,CAAK,EAAE,SAAA,EAAa,EAAA;AACxB,QAAA,SAAA,CAAU,gBAAiB,CAAA;AAAA,UACzB,UAAY,EAAA,aAAA;AAAA,UACZ,SAASC,6CAA+B,CAAA;AAAA,YACtC,aAAe,EAAA,wBAAA;AAAA,YACf,uBAAyB,EAAA;AAAA,cACvB,GAAGC,oCAAA;AAAA,cACH,GAAG,0BAAA;AAAA,aACL;AAAA,WACD,CAAA;AAAA,SACF,CAAA,CAAA;AAAA,OACH;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/authenticator.ts","../src/resolvers.ts","../src/module.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { AuthenticationError } from '@backstage/errors';\nimport { createProxyAuthenticator } from '@backstage/plugin-auth-node';\nimport { decodeJwt } from 'jose';\nimport { OAuth2ProxyResult } from './types';\n\n/**\n * NOTE: This may come in handy if you're doing work on this provider:\n * plugins/auth-backend/examples/docker-compose.oauth2-proxy.yaml\n *\n * @public\n */\nexport const OAUTH2_PROXY_JWT_HEADER = 'X-OAUTH2-PROXY-ID-TOKEN';\n\n/** @public */\nexport const oauth2ProxyAuthenticator = createProxyAuthenticator({\n defaultProfileTransform: async (result: OAuth2ProxyResult) => {\n return {\n profile: {\n email: result.getHeader('x-forwarded-email'),\n displayName:\n result.getHeader('x-forwarded-preferred-username') ||\n result.getHeader('x-forwarded-user'),\n },\n };\n },\n async initialize() {},\n async authenticate({ req }) {\n try {\n const authHeader = req.header(OAUTH2_PROXY_JWT_HEADER);\n const jwt = authHeader?.match(/^Bearer[ ]+(\\S+)$/i)?.[1];\n const decodedJWT = jwt && decodeJwt(jwt);\n\n const result = {\n fullProfile: decodedJWT || {},\n accessToken: jwt || '',\n headers: req.headers,\n getHeader(name: string) {\n if (name.toLocaleLowerCase('en-US') === 'set-cookie') {\n throw new Error('Access Set-Cookie via the headers object instead');\n }\n return req.get(name);\n },\n };\n\n return {\n result,\n providerInfo: {\n accessToken: result.accessToken,\n },\n };\n } catch (e) {\n throw new AuthenticationError('Authentication failed', e);\n }\n },\n});\n","/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createSignInResolverFactory,\n SignInInfo,\n} from '@backstage/plugin-auth-node';\nimport { OAuth2ProxyResult } from './types';\n\n/**\n * @public\n */\nexport namespace oauth2ProxySignInResolvers {\n export const forwardedUserMatchingUserEntityName =\n createSignInResolverFactory({\n create() {\n return async (info: SignInInfo<OAuth2ProxyResult>, ctx) => {\n const name = info.result.getHeader('x-forwarded-user');\n if (!name) {\n throw new Error('Request did not contain a user');\n }\n return ctx.signInWithCatalogUser({\n entityRef: { name },\n });\n };\n },\n });\n}\n","/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createBackendModule } from '@backstage/backend-plugin-api';\nimport {\n authProvidersExtensionPoint,\n createProxyAuthProviderFactory,\n commonSignInResolvers,\n} from '@backstage/plugin-auth-node';\nimport { oauth2ProxyAuthenticator } from './authenticator';\nimport { oauth2ProxySignInResolvers } from './resolvers';\n\n/** @public */\nexport const authModuleOauth2ProxyProvider = createBackendModule({\n pluginId: 'auth',\n moduleId: 'oauth2-proxy-provider',\n register(reg) {\n reg.registerInit({\n deps: {\n providers: authProvidersExtensionPoint,\n },\n async init({ providers }) {\n providers.registerProvider({\n providerId: 'oauth2Proxy',\n factory: createProxyAuthProviderFactory({\n authenticator: oauth2ProxyAuthenticator,\n signInResolverFactories: {\n ...commonSignInResolvers,\n ...oauth2ProxySignInResolvers,\n },\n }),\n });\n },\n });\n },\n});\n"],"names":["createProxyAuthenticator","decodeJwt","AuthenticationError","oauth2ProxySignInResolvers","createSignInResolverFactory","createBackendModule","authProvidersExtensionPoint","createProxyAuthProviderFactory","commonSignInResolvers"],"mappings":";;;;;;;;;AA2BO,MAAM,uBAA0B,GAAA,0BAAA;AAGhC,MAAM,2BAA2BA,uCAAyB,CA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AAAA,cACH,GAAG,0BAAA;AAAA,aACL;AAAA,WACD,CAAA;AAAA,SACF,CAAA,CAAA;AAAA,OACH;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend-module-oauth2-proxy-provider",
3
3
  "description": "The oauth2-proxy-provider backend module for the auth plugin.",
4
- "version": "0.1.6",
4
+ "version": "0.1.7-next.2",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -28,14 +28,14 @@
28
28
  "postpack": "backstage-cli package postpack"
29
29
  },
30
30
  "dependencies": {
31
- "@backstage/backend-plugin-api": "^0.6.13",
32
- "@backstage/errors": "^1.2.3",
33
- "@backstage/plugin-auth-node": "^0.4.8",
34
- "jose": "^4.6.0"
31
+ "@backstage/backend-plugin-api": "^0.6.14-next.2",
32
+ "@backstage/errors": "^1.2.4-next.0",
33
+ "@backstage/plugin-auth-node": "^0.4.9-next.2",
34
+ "jose": "^5.0.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@backstage/backend-test-utils": "^0.3.3",
38
- "@backstage/cli": "^0.25.2"
37
+ "@backstage/backend-test-utils": "^0.3.4-next.2",
38
+ "@backstage/cli": "^0.25.3-next.2"
39
39
  },
40
40
  "files": [
41
41
  "dist"