@backstage/plugin-auth-backend-module-okta-provider 0.1.1-next.0 → 0.1.1-next.1
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 +9 -0
- package/config.d.ts +4 -1
- package/dist/authenticator.cjs.js +54 -0
- package/dist/authenticator.cjs.js.map +1 -0
- package/dist/index.cjs.js +8 -92
- package/dist/index.cjs.js.map +1 -1
- package/dist/module.cjs.js +33 -0
- package/dist/module.cjs.js.map +1 -0
- package/dist/resolvers.cjs.js +23 -0
- package/dist/resolvers.cjs.js.map +1 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend-module-okta-provider
|
|
2
2
|
|
|
3
|
+
## 0.1.1-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 217458a: Updated configuration schema to include the new `allowedDomains` option for the `emailLocalPartMatchingUserEntityName` sign-in resolver.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-auth-node@0.5.3-next.1
|
|
10
|
+
- @backstage/backend-plugin-api@1.0.1-next.1
|
|
11
|
+
|
|
3
12
|
## 0.1.1-next.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/config.d.ts
CHANGED
|
@@ -33,7 +33,10 @@ export interface Config {
|
|
|
33
33
|
signIn?: {
|
|
34
34
|
resolvers: Array<
|
|
35
35
|
| { resolver: 'emailMatchingUserEntityAnnotation' }
|
|
36
|
-
| {
|
|
36
|
+
| {
|
|
37
|
+
resolver: 'emailLocalPartMatchingUserEntityName';
|
|
38
|
+
allowedDomains?: string[];
|
|
39
|
+
}
|
|
37
40
|
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
|
38
41
|
>;
|
|
39
42
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var passportOktaOauth = require('@davidzemon/passport-okta-oauth');
|
|
4
|
+
var pluginAuthNode = require('@backstage/plugin-auth-node');
|
|
5
|
+
|
|
6
|
+
const oktaAuthenticator = pluginAuthNode.createOAuthAuthenticator({
|
|
7
|
+
defaultProfileTransform: pluginAuthNode.PassportOAuthAuthenticatorHelper.defaultProfileTransform,
|
|
8
|
+
scopes: {
|
|
9
|
+
required: ["openid", "email", "profile", "offline_access"]
|
|
10
|
+
},
|
|
11
|
+
initialize({ callbackUrl, config }) {
|
|
12
|
+
const clientId = config.getString("clientId");
|
|
13
|
+
const clientSecret = config.getString("clientSecret");
|
|
14
|
+
const audience = config.getOptionalString("audience") || "https://okta.com";
|
|
15
|
+
const authServerId = config.getOptionalString("authServerId");
|
|
16
|
+
const idp = config.getOptionalString("idp");
|
|
17
|
+
return pluginAuthNode.PassportOAuthAuthenticatorHelper.from(
|
|
18
|
+
new passportOktaOauth.Strategy(
|
|
19
|
+
{
|
|
20
|
+
clientID: clientId,
|
|
21
|
+
clientSecret,
|
|
22
|
+
callbackURL: callbackUrl,
|
|
23
|
+
audience,
|
|
24
|
+
authServerID: authServerId,
|
|
25
|
+
idp,
|
|
26
|
+
passReqToCallback: false,
|
|
27
|
+
response_type: "code"
|
|
28
|
+
},
|
|
29
|
+
(accessToken, refreshToken, params, fullProfile, done) => {
|
|
30
|
+
done(
|
|
31
|
+
void 0,
|
|
32
|
+
{ fullProfile, params, accessToken },
|
|
33
|
+
{ refreshToken }
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
);
|
|
38
|
+
},
|
|
39
|
+
async start(input, helper) {
|
|
40
|
+
return helper.start(input, {
|
|
41
|
+
accessType: "offline",
|
|
42
|
+
prompt: "consent"
|
|
43
|
+
});
|
|
44
|
+
},
|
|
45
|
+
async authenticate(input, helper) {
|
|
46
|
+
return helper.authenticate(input);
|
|
47
|
+
},
|
|
48
|
+
async refresh(input, helper) {
|
|
49
|
+
return helper.refresh(input);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
exports.oktaAuthenticator = oktaAuthenticator;
|
|
54
|
+
//# sourceMappingURL=authenticator.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticator.cjs.js","sources":["../src/authenticator.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 { Strategy as OktaStrategy } from '@davidzemon/passport-okta-oauth';\nimport {\n createOAuthAuthenticator,\n PassportOAuthAuthenticatorHelper,\n PassportOAuthDoneCallback,\n PassportProfile,\n} from '@backstage/plugin-auth-node';\n\n/** @public */\nexport const oktaAuthenticator = createOAuthAuthenticator({\n defaultProfileTransform:\n PassportOAuthAuthenticatorHelper.defaultProfileTransform,\n scopes: {\n required: ['openid', 'email', 'profile', 'offline_access'],\n },\n initialize({ callbackUrl, config }) {\n const clientId = config.getString('clientId');\n const clientSecret = config.getString('clientSecret');\n const audience = config.getOptionalString('audience') || 'https://okta.com';\n const authServerId = config.getOptionalString('authServerId');\n const idp = config.getOptionalString('idp');\n\n return PassportOAuthAuthenticatorHelper.from(\n new OktaStrategy(\n {\n clientID: clientId,\n clientSecret: clientSecret,\n callbackURL: callbackUrl,\n audience: audience,\n authServerID: authServerId,\n idp: idp,\n passReqToCallback: false,\n response_type: 'code',\n },\n (\n accessToken: string,\n refreshToken: string,\n params: any,\n fullProfile: PassportProfile,\n done: PassportOAuthDoneCallback,\n ) => {\n done(\n undefined,\n { fullProfile, params, accessToken },\n { refreshToken },\n );\n },\n ),\n );\n },\n\n async start(input, helper) {\n return helper.start(input, {\n accessType: 'offline',\n prompt: 'consent',\n });\n },\n\n async authenticate(input, helper) {\n return helper.authenticate(input);\n },\n\n async refresh(input, helper) {\n return helper.refresh(input);\n },\n});\n"],"names":["createOAuthAuthenticator","PassportOAuthAuthenticatorHelper","OktaStrategy"],"mappings":";;;;;AAyBO,MAAM,oBAAoBA,uCAAyB,CAAA;AAAA,EACxD,yBACEC,+CAAiC,CAAA,uBAAA;AAAA,EACnC,MAAQ,EAAA;AAAA,IACN,QAAU,EAAA,CAAC,QAAU,EAAA,OAAA,EAAS,WAAW,gBAAgB,CAAA;AAAA,GAC3D;AAAA,EACA,UAAW,CAAA,EAAE,WAAa,EAAA,MAAA,EAAU,EAAA;AAClC,IAAM,MAAA,QAAA,GAAW,MAAO,CAAA,SAAA,CAAU,UAAU,CAAA,CAAA;AAC5C,IAAM,MAAA,YAAA,GAAe,MAAO,CAAA,SAAA,CAAU,cAAc,CAAA,CAAA;AACpD,IAAA,MAAM,QAAW,GAAA,MAAA,CAAO,iBAAkB,CAAA,UAAU,CAAK,IAAA,kBAAA,CAAA;AACzD,IAAM,MAAA,YAAA,GAAe,MAAO,CAAA,iBAAA,CAAkB,cAAc,CAAA,CAAA;AAC5D,IAAM,MAAA,GAAA,GAAM,MAAO,CAAA,iBAAA,CAAkB,KAAK,CAAA,CAAA;AAE1C,IAAA,OAAOA,+CAAiC,CAAA,IAAA;AAAA,MACtC,IAAIC,0BAAA;AAAA,QACF;AAAA,UACE,QAAU,EAAA,QAAA;AAAA,UACV,YAAA;AAAA,UACA,WAAa,EAAA,WAAA;AAAA,UACb,QAAA;AAAA,UACA,YAAc,EAAA,YAAA;AAAA,UACd,GAAA;AAAA,UACA,iBAAmB,EAAA,KAAA;AAAA,UACnB,aAAe,EAAA,MAAA;AAAA,SACjB;AAAA,QACA,CACE,WAAA,EACA,YACA,EAAA,MAAA,EACA,aACA,IACG,KAAA;AACH,UAAA,IAAA;AAAA,YACE,KAAA,CAAA;AAAA,YACA,EAAE,WAAa,EAAA,MAAA,EAAQ,WAAY,EAAA;AAAA,YACnC,EAAE,YAAa,EAAA;AAAA,WACjB,CAAA;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AAAA,EAEA,MAAM,KAAM,CAAA,KAAA,EAAO,MAAQ,EAAA;AACzB,IAAO,OAAA,MAAA,CAAO,MAAM,KAAO,EAAA;AAAA,MACzB,UAAY,EAAA,SAAA;AAAA,MACZ,MAAQ,EAAA,SAAA;AAAA,KACT,CAAA,CAAA;AAAA,GACH;AAAA,EAEA,MAAM,YAAa,CAAA,KAAA,EAAO,MAAQ,EAAA;AAChC,IAAO,OAAA,MAAA,CAAO,aAAa,KAAK,CAAA,CAAA;AAAA,GAClC;AAAA,EAEA,MAAM,OAAQ,CAAA,KAAA,EAAO,MAAQ,EAAA;AAC3B,IAAO,OAAA,MAAA,CAAO,QAAQ,KAAK,CAAA,CAAA;AAAA,GAC7B;AACF,CAAC;;;;"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -2,100 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
5
|
+
var authenticator = require('./authenticator.cjs.js');
|
|
6
|
+
var module$1 = require('./module.cjs.js');
|
|
7
|
+
var resolvers = require('./resolvers.cjs.js');
|
|
8
8
|
|
|
9
|
-
const oktaAuthenticator = pluginAuthNode.createOAuthAuthenticator({
|
|
10
|
-
defaultProfileTransform: pluginAuthNode.PassportOAuthAuthenticatorHelper.defaultProfileTransform,
|
|
11
|
-
scopes: {
|
|
12
|
-
required: ["openid", "email", "profile", "offline_access"]
|
|
13
|
-
},
|
|
14
|
-
initialize({ callbackUrl, config }) {
|
|
15
|
-
const clientId = config.getString("clientId");
|
|
16
|
-
const clientSecret = config.getString("clientSecret");
|
|
17
|
-
const audience = config.getOptionalString("audience") || "https://okta.com";
|
|
18
|
-
const authServerId = config.getOptionalString("authServerId");
|
|
19
|
-
const idp = config.getOptionalString("idp");
|
|
20
|
-
return pluginAuthNode.PassportOAuthAuthenticatorHelper.from(
|
|
21
|
-
new passportOktaOauth.Strategy(
|
|
22
|
-
{
|
|
23
|
-
clientID: clientId,
|
|
24
|
-
clientSecret,
|
|
25
|
-
callbackURL: callbackUrl,
|
|
26
|
-
audience,
|
|
27
|
-
authServerID: authServerId,
|
|
28
|
-
idp,
|
|
29
|
-
passReqToCallback: false,
|
|
30
|
-
response_type: "code"
|
|
31
|
-
},
|
|
32
|
-
(accessToken, refreshToken, params, fullProfile, done) => {
|
|
33
|
-
done(
|
|
34
|
-
void 0,
|
|
35
|
-
{ fullProfile, params, accessToken },
|
|
36
|
-
{ refreshToken }
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
);
|
|
41
|
-
},
|
|
42
|
-
async start(input, helper) {
|
|
43
|
-
return helper.start(input, {
|
|
44
|
-
accessType: "offline",
|
|
45
|
-
prompt: "consent"
|
|
46
|
-
});
|
|
47
|
-
},
|
|
48
|
-
async authenticate(input, helper) {
|
|
49
|
-
return helper.authenticate(input);
|
|
50
|
-
},
|
|
51
|
-
async refresh(input, helper) {
|
|
52
|
-
return helper.refresh(input);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
9
|
|
|
56
|
-
exports.oktaSignInResolvers = void 0;
|
|
57
|
-
((oktaSignInResolvers2) => {
|
|
58
|
-
oktaSignInResolvers2.emailMatchingUserEntityAnnotation = pluginAuthNode.createSignInResolverFactory({
|
|
59
|
-
create() {
|
|
60
|
-
return async (info, ctx) => {
|
|
61
|
-
const { profile } = info;
|
|
62
|
-
if (!profile.email) {
|
|
63
|
-
throw new Error("Okta profile contained no email");
|
|
64
|
-
}
|
|
65
|
-
return ctx.signInWithCatalogUser({
|
|
66
|
-
annotations: {
|
|
67
|
-
"okta.com/email": profile.email
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
})(exports.oktaSignInResolvers || (exports.oktaSignInResolvers = {}));
|
|
74
10
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
deps: {
|
|
81
|
-
providers: pluginAuthNode.authProvidersExtensionPoint
|
|
82
|
-
},
|
|
83
|
-
async init({ providers }) {
|
|
84
|
-
providers.registerProvider({
|
|
85
|
-
providerId: "okta",
|
|
86
|
-
factory: pluginAuthNode.createOAuthProviderFactory({
|
|
87
|
-
authenticator: oktaAuthenticator,
|
|
88
|
-
signInResolverFactories: {
|
|
89
|
-
...exports.oktaSignInResolvers,
|
|
90
|
-
...pluginAuthNode.commonSignInResolvers
|
|
91
|
-
}
|
|
92
|
-
})
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
}
|
|
11
|
+
exports.oktaAuthenticator = authenticator.oktaAuthenticator;
|
|
12
|
+
exports.default = module$1.authModuleOktaProvider;
|
|
13
|
+
Object.defineProperty(exports, "oktaSignInResolvers", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return resolvers.oktaSignInResolvers; }
|
|
97
16
|
});
|
|
98
|
-
|
|
99
|
-
exports.default = authModuleOktaProvider;
|
|
100
|
-
exports.oktaAuthenticator = oktaAuthenticator;
|
|
101
17
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var backendPluginApi = require('@backstage/backend-plugin-api');
|
|
4
|
+
var pluginAuthNode = require('@backstage/plugin-auth-node');
|
|
5
|
+
var authenticator = require('./authenticator.cjs.js');
|
|
6
|
+
var resolvers = require('./resolvers.cjs.js');
|
|
7
|
+
|
|
8
|
+
const authModuleOktaProvider = backendPluginApi.createBackendModule({
|
|
9
|
+
pluginId: "auth",
|
|
10
|
+
moduleId: "okta-provider",
|
|
11
|
+
register(reg) {
|
|
12
|
+
reg.registerInit({
|
|
13
|
+
deps: {
|
|
14
|
+
providers: pluginAuthNode.authProvidersExtensionPoint
|
|
15
|
+
},
|
|
16
|
+
async init({ providers }) {
|
|
17
|
+
providers.registerProvider({
|
|
18
|
+
providerId: "okta",
|
|
19
|
+
factory: pluginAuthNode.createOAuthProviderFactory({
|
|
20
|
+
authenticator: authenticator.oktaAuthenticator,
|
|
21
|
+
signInResolverFactories: {
|
|
22
|
+
...resolvers.oktaSignInResolvers,
|
|
23
|
+
...pluginAuthNode.commonSignInResolvers
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
exports.authModuleOktaProvider = authModuleOktaProvider;
|
|
33
|
+
//# sourceMappingURL=module.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.cjs.js","sources":["../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 */\nimport { createBackendModule } from '@backstage/backend-plugin-api';\nimport {\n authProvidersExtensionPoint,\n commonSignInResolvers,\n createOAuthProviderFactory,\n} from '@backstage/plugin-auth-node';\nimport { oktaAuthenticator } from './authenticator';\nimport { oktaSignInResolvers } from './resolvers';\n\n/** @public */\nexport const authModuleOktaProvider = createBackendModule({\n pluginId: 'auth',\n moduleId: 'okta-provider',\n register(reg) {\n reg.registerInit({\n deps: {\n providers: authProvidersExtensionPoint,\n },\n async init({ providers }) {\n providers.registerProvider({\n providerId: 'okta',\n factory: createOAuthProviderFactory({\n authenticator: oktaAuthenticator,\n signInResolverFactories: {\n ...oktaSignInResolvers,\n ...commonSignInResolvers,\n },\n }),\n });\n },\n });\n },\n});\n"],"names":["createBackendModule","authProvidersExtensionPoint","createOAuthProviderFactory","oktaAuthenticator","oktaSignInResolvers","commonSignInResolvers"],"mappings":";;;;;;;AAyBO,MAAM,yBAAyBA,oCAAoB,CAAA;AAAA,EACxD,QAAU,EAAA,MAAA;AAAA,EACV,QAAU,EAAA,eAAA;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,MAAA;AAAA,UACZ,SAASC,yCAA2B,CAAA;AAAA,YAClC,aAAe,EAAAC,+BAAA;AAAA,YACf,uBAAyB,EAAA;AAAA,cACvB,GAAGC,6BAAA;AAAA,cACH,GAAGC,oCAAA;AAAA,aACL;AAAA,WACD,CAAA;AAAA,SACF,CAAA,CAAA;AAAA,OACH;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var pluginAuthNode = require('@backstage/plugin-auth-node');
|
|
4
|
+
|
|
5
|
+
exports.oktaSignInResolvers = void 0;
|
|
6
|
+
((oktaSignInResolvers2) => {
|
|
7
|
+
oktaSignInResolvers2.emailMatchingUserEntityAnnotation = pluginAuthNode.createSignInResolverFactory({
|
|
8
|
+
create() {
|
|
9
|
+
return async (info, ctx) => {
|
|
10
|
+
const { profile } = info;
|
|
11
|
+
if (!profile.email) {
|
|
12
|
+
throw new Error("Okta profile contained no email");
|
|
13
|
+
}
|
|
14
|
+
return ctx.signInWithCatalogUser({
|
|
15
|
+
annotations: {
|
|
16
|
+
"okta.com/email": profile.email
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
})(exports.oktaSignInResolvers || (exports.oktaSignInResolvers = {}));
|
|
23
|
+
//# sourceMappingURL=resolvers.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolvers.cjs.js","sources":["../src/resolvers.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 {\n createSignInResolverFactory,\n OAuthAuthenticatorResult,\n PassportProfile,\n SignInInfo,\n} from '@backstage/plugin-auth-node';\n\n/**\n * Available sign-in resolvers for the Okta auth provider.\n *\n * @public\n */\nexport namespace oktaSignInResolvers {\n /**\n * Looks up the user by matching their Okta email to the entity email.\n */\n\n export const emailMatchingUserEntityAnnotation = createSignInResolverFactory({\n create() {\n return async (\n info: SignInInfo<OAuthAuthenticatorResult<PassportProfile>>,\n ctx,\n ) => {\n const { profile } = info;\n\n if (!profile.email) {\n throw new Error('Okta profile contained no email');\n }\n\n return ctx.signInWithCatalogUser({\n annotations: {\n 'okta.com/email': profile.email,\n },\n });\n };\n },\n });\n}\n"],"names":["oktaSignInResolvers","createSignInResolverFactory"],"mappings":";;;;AA4BiBA,qCAAA;AAAA,CAAV,CAAUA,oBAAV,KAAA;AAKE,EAAMA,oBAAAA,CAAA,oCAAoCC,0CAA4B,CAAA;AAAA,IAC3E,MAAS,GAAA;AACP,MAAO,OAAA,OACL,MACA,GACG,KAAA;AACH,QAAM,MAAA,EAAE,SAAY,GAAA,IAAA,CAAA;AAEpB,QAAI,IAAA,CAAC,QAAQ,KAAO,EAAA;AAClB,UAAM,MAAA,IAAI,MAAM,iCAAiC,CAAA,CAAA;AAAA,SACnD;AAEA,QAAA,OAAO,IAAI,qBAAsB,CAAA;AAAA,UAC/B,WAAa,EAAA;AAAA,YACX,kBAAkB,OAAQ,CAAA,KAAA;AAAA,WAC5B;AAAA,SACD,CAAA,CAAA;AAAA,OACH,CAAA;AAAA,KACF;AAAA,GACD,CAAA,CAAA;AAAA,CAxBc,EAAAD,2BAAA,KAAAA,2BAAA,GAAA,EAAA,CAAA,CAAA;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend-module-okta-provider",
|
|
3
|
-
"version": "0.1.1-next.
|
|
3
|
+
"version": "0.1.1-next.1",
|
|
4
4
|
"description": "The okta-provider backend module for the auth plugin.",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"test": "backstage-cli package test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/backend-plugin-api": "
|
|
38
|
-
"@backstage/plugin-auth-node": "
|
|
37
|
+
"@backstage/backend-plugin-api": "1.0.1-next.1",
|
|
38
|
+
"@backstage/plugin-auth-node": "0.5.3-next.1",
|
|
39
39
|
"@davidzemon/passport-okta-oauth": "^0.0.5",
|
|
40
40
|
"express": "^4.18.2",
|
|
41
41
|
"passport": "^0.7.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@backstage/backend-defaults": "
|
|
45
|
-
"@backstage/backend-test-utils": "
|
|
46
|
-
"@backstage/cli": "
|
|
47
|
-
"@backstage/plugin-auth-backend": "
|
|
44
|
+
"@backstage/backend-defaults": "0.5.1-next.2",
|
|
45
|
+
"@backstage/backend-test-utils": "1.0.1-next.2",
|
|
46
|
+
"@backstage/cli": "0.28.0-next.2",
|
|
47
|
+
"@backstage/plugin-auth-backend": "0.23.1-next.1",
|
|
48
48
|
"supertest": "^7.0.0"
|
|
49
49
|
},
|
|
50
50
|
"configSchema": "config.d.ts"
|