@pulumi/auth0 3.4.0-alpha.1713438635 → 3.4.0-alpha.1713834577
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/attackProtection.d.ts +17 -17
- package/attackProtection.js +17 -17
- package/branding.d.ts +0 -21
- package/branding.js +0 -21
- package/branding.js.map +1 -1
- package/brandingTheme.d.ts +0 -83
- package/brandingTheme.js +0 -83
- package/brandingTheme.js.map +1 -1
- package/client.d.ts +42 -42
- package/client.js +42 -42
- package/clientCredentials.d.ts +0 -54
- package/clientCredentials.js +0 -54
- package/clientCredentials.js.map +1 -1
- package/connection.d.ts +466 -88
- package/connection.js +466 -88
- package/connection.js.map +1 -1
- package/connectionClient.d.ts +6 -3
- package/connectionClient.js +6 -3
- package/connectionClient.js.map +1 -1
- package/connectionClients.d.ts +7 -4
- package/connectionClients.js +7 -4
- package/connectionClients.js.map +1 -1
- package/customDomain.d.ts +1 -1
- package/customDomain.js +1 -1
- package/emailProvider.d.ts +0 -38
- package/emailProvider.js +0 -38
- package/emailProvider.js.map +1 -1
- package/emailTemplate.d.ts +3 -2
- package/emailTemplate.js +3 -2
- package/emailTemplate.js.map +1 -1
- package/getClient.d.ts +4 -0
- package/getClient.js +4 -0
- package/getClient.js.map +1 -1
- package/getConnection.d.ts +4 -0
- package/getConnection.js +4 -0
- package/getConnection.js.map +1 -1
- package/getOrganization.d.ts +4 -0
- package/getOrganization.js +4 -0
- package/getOrganization.js.map +1 -1
- package/getResourceServer.d.ts +4 -0
- package/getResourceServer.js +4 -0
- package/getResourceServer.js.map +1 -1
- package/getRole.d.ts +4 -0
- package/getRole.js +4 -0
- package/getRole.js.map +1 -1
- package/getUser.d.ts +2 -0
- package/getUser.js +2 -0
- package/getUser.js.map +1 -1
- package/guardian.d.ts +17 -17
- package/guardian.js +17 -17
- package/hook.d.ts +7 -7
- package/hook.js +7 -7
- package/logStream.d.ts +12 -10
- package/logStream.js +12 -10
- package/logStream.js.map +1 -1
- package/organization.d.ts +5 -4
- package/organization.js +5 -4
- package/organization.js.map +1 -1
- package/organizationConnection.d.ts +9 -3
- package/organizationConnection.js +9 -3
- package/organizationConnection.js.map +1 -1
- package/organizationConnections.d.ts +12 -3
- package/organizationConnections.js +12 -3
- package/organizationConnections.js.map +1 -1
- package/organizationMember.d.ts +5 -2
- package/organizationMember.js +5 -2
- package/organizationMember.js.map +1 -1
- package/organizationMemberRole.d.ts +7 -4
- package/organizationMemberRole.js +7 -4
- package/organizationMemberRole.js.map +1 -1
- package/organizationMemberRoles.d.ts +8 -5
- package/organizationMemberRoles.js +8 -5
- package/organizationMemberRoles.js.map +1 -1
- package/organizationMembers.d.ts +7 -4
- package/organizationMembers.js +7 -4
- package/organizationMembers.js.map +1 -1
- package/package.json +1 -1
- package/pages.d.ts +9 -9
- package/pages.js +9 -9
- package/prompt.d.ts +2 -2
- package/prompt.js +2 -2
- package/promptPartials.d.ts +5 -5
- package/promptPartials.js +5 -5
- package/resourceServer.d.ts +4 -3
- package/resourceServer.js +4 -3
- package/resourceServer.js.map +1 -1
- package/resourceServerScope.d.ts +6 -3
- package/resourceServerScope.js +6 -3
- package/resourceServerScope.js.map +1 -1
- package/resourceServerScopes.d.ts +5 -2
- package/resourceServerScopes.js +5 -2
- package/resourceServerScopes.js.map +1 -1
- package/role.d.ts +4 -1
- package/role.js +4 -1
- package/role.js.map +1 -1
- package/rule.d.ts +3 -3
- package/rule.js +3 -3
- package/ruleConfig.d.ts +4 -4
- package/ruleConfig.js +4 -4
- package/tenant.d.ts +11 -11
- package/tenant.js +11 -11
- package/triggerAction.d.ts +3 -2
- package/triggerAction.js +3 -2
- package/triggerAction.js.map +1 -1
- package/triggerActions.d.ts +5 -3
- package/triggerActions.js +5 -3
- package/triggerActions.js.map +1 -1
- package/user.d.ts +4 -3
- package/user.js +4 -3
- package/user.js.map +1 -1
- package/userRole.d.ts +6 -2
- package/userRole.js +6 -2
- package/userRole.js.map +1 -1
- package/userRoles.d.ts +6 -2
- package/userRoles.js +6 -2
- package/userRoles.js.map +1 -1
package/attackProtection.d.ts
CHANGED
|
@@ -11,18 +11,22 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as auth0 from "@pulumi/auth0";
|
|
13
13
|
*
|
|
14
|
-
* const myProtection = new auth0.AttackProtection("
|
|
15
|
-
*
|
|
16
|
-
* adminNotificationFrequencies: ["daily"],
|
|
14
|
+
* const myProtection = new auth0.AttackProtection("my_protection", {
|
|
15
|
+
* suspiciousIpThrottling: {
|
|
17
16
|
* enabled: true,
|
|
18
|
-
* method: "standard",
|
|
19
|
-
* preUserRegistration: {
|
|
20
|
-
* shields: ["block"],
|
|
21
|
-
* },
|
|
22
17
|
* shields: [
|
|
23
18
|
* "admin_notification",
|
|
24
19
|
* "block",
|
|
25
20
|
* ],
|
|
21
|
+
* allowlists: ["192.168.1.1"],
|
|
22
|
+
* preLogin: {
|
|
23
|
+
* maxAttempts: 100,
|
|
24
|
+
* rate: 864000,
|
|
25
|
+
* },
|
|
26
|
+
* preUserRegistration: {
|
|
27
|
+
* maxAttempts: 50,
|
|
28
|
+
* rate: 1200,
|
|
29
|
+
* },
|
|
26
30
|
* },
|
|
27
31
|
* bruteForceProtection: {
|
|
28
32
|
* allowlists: ["127.0.0.1"],
|
|
@@ -34,21 +38,17 @@ import * as outputs from "./types/output";
|
|
|
34
38
|
* "user_notification",
|
|
35
39
|
* ],
|
|
36
40
|
* },
|
|
37
|
-
*
|
|
38
|
-
*
|
|
41
|
+
* breachedPasswordDetection: {
|
|
42
|
+
* adminNotificationFrequencies: ["daily"],
|
|
39
43
|
* enabled: true,
|
|
40
|
-
*
|
|
41
|
-
* maxAttempts: 100,
|
|
42
|
-
* rate: 864000,
|
|
43
|
-
* },
|
|
44
|
-
* preUserRegistration: {
|
|
45
|
-
* maxAttempts: 50,
|
|
46
|
-
* rate: 1200,
|
|
47
|
-
* },
|
|
44
|
+
* method: "standard",
|
|
48
45
|
* shields: [
|
|
49
46
|
* "admin_notification",
|
|
50
47
|
* "block",
|
|
51
48
|
* ],
|
|
49
|
+
* preUserRegistration: {
|
|
50
|
+
* shields: ["block"],
|
|
51
|
+
* },
|
|
52
52
|
* },
|
|
53
53
|
* });
|
|
54
54
|
* ```
|
package/attackProtection.js
CHANGED
|
@@ -15,18 +15,22 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as auth0 from "@pulumi/auth0";
|
|
17
17
|
*
|
|
18
|
-
* const myProtection = new auth0.AttackProtection("
|
|
19
|
-
*
|
|
20
|
-
* adminNotificationFrequencies: ["daily"],
|
|
18
|
+
* const myProtection = new auth0.AttackProtection("my_protection", {
|
|
19
|
+
* suspiciousIpThrottling: {
|
|
21
20
|
* enabled: true,
|
|
22
|
-
* method: "standard",
|
|
23
|
-
* preUserRegistration: {
|
|
24
|
-
* shields: ["block"],
|
|
25
|
-
* },
|
|
26
21
|
* shields: [
|
|
27
22
|
* "admin_notification",
|
|
28
23
|
* "block",
|
|
29
24
|
* ],
|
|
25
|
+
* allowlists: ["192.168.1.1"],
|
|
26
|
+
* preLogin: {
|
|
27
|
+
* maxAttempts: 100,
|
|
28
|
+
* rate: 864000,
|
|
29
|
+
* },
|
|
30
|
+
* preUserRegistration: {
|
|
31
|
+
* maxAttempts: 50,
|
|
32
|
+
* rate: 1200,
|
|
33
|
+
* },
|
|
30
34
|
* },
|
|
31
35
|
* bruteForceProtection: {
|
|
32
36
|
* allowlists: ["127.0.0.1"],
|
|
@@ -38,21 +42,17 @@ const utilities = require("./utilities");
|
|
|
38
42
|
* "user_notification",
|
|
39
43
|
* ],
|
|
40
44
|
* },
|
|
41
|
-
*
|
|
42
|
-
*
|
|
45
|
+
* breachedPasswordDetection: {
|
|
46
|
+
* adminNotificationFrequencies: ["daily"],
|
|
43
47
|
* enabled: true,
|
|
44
|
-
*
|
|
45
|
-
* maxAttempts: 100,
|
|
46
|
-
* rate: 864000,
|
|
47
|
-
* },
|
|
48
|
-
* preUserRegistration: {
|
|
49
|
-
* maxAttempts: 50,
|
|
50
|
-
* rate: 1200,
|
|
51
|
-
* },
|
|
48
|
+
* method: "standard",
|
|
52
49
|
* shields: [
|
|
53
50
|
* "admin_notification",
|
|
54
51
|
* "block",
|
|
55
52
|
* ],
|
|
53
|
+
* preUserRegistration: {
|
|
54
|
+
* shields: ["block"],
|
|
55
|
+
* },
|
|
56
56
|
* },
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
package/branding.d.ts
CHANGED
|
@@ -4,27 +4,6 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as auth0 from "@pulumi/auth0";
|
|
13
|
-
* import * as fs from "fs";
|
|
14
|
-
*
|
|
15
|
-
* const myBrand = new auth0.Branding("myBrand", {
|
|
16
|
-
* logoUrl: "https://mycompany.org/logo.png",
|
|
17
|
-
* colors: {
|
|
18
|
-
* primary: "#0059d6",
|
|
19
|
-
* pageBackground: "#000000",
|
|
20
|
-
* },
|
|
21
|
-
* universalLogin: {
|
|
22
|
-
* body: fs.readFileSync("universal_login_body.html", "utf8"),
|
|
23
|
-
* },
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
* <!--End PulumiCodeChooser -->
|
|
27
|
-
*
|
|
28
7
|
* ## Import
|
|
29
8
|
*
|
|
30
9
|
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
package/branding.js
CHANGED
|
@@ -8,27 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as auth0 from "@pulumi/auth0";
|
|
17
|
-
* import * as fs from "fs";
|
|
18
|
-
*
|
|
19
|
-
* const myBrand = new auth0.Branding("myBrand", {
|
|
20
|
-
* logoUrl: "https://mycompany.org/logo.png",
|
|
21
|
-
* colors: {
|
|
22
|
-
* primary: "#0059d6",
|
|
23
|
-
* pageBackground: "#000000",
|
|
24
|
-
* },
|
|
25
|
-
* universalLogin: {
|
|
26
|
-
* body: fs.readFileSync("universal_login_body.html", "utf8"),
|
|
27
|
-
* },
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
* <!--End PulumiCodeChooser -->
|
|
31
|
-
*
|
|
32
11
|
* ## Import
|
|
33
12
|
*
|
|
34
13
|
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
package/branding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branding.js","sourceRoot":"","sources":["../branding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"branding.js","sourceRoot":"","sources":["../branding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAA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AAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA7EL,4BA8EC;AAhEG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
|
package/brandingTheme.d.ts
CHANGED
|
@@ -4,89 +4,6 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource allows you to manage branding themes for your Universal Login page within your Auth0 tenant.
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as auth0 from "@pulumi/auth0";
|
|
13
|
-
*
|
|
14
|
-
* // An example of a fully configured auth0_branding_theme.
|
|
15
|
-
* const myTheme = new auth0.BrandingTheme("myTheme", {
|
|
16
|
-
* borders: {
|
|
17
|
-
* buttonBorderRadius: 1,
|
|
18
|
-
* buttonBorderWeight: 1,
|
|
19
|
-
* buttonsStyle: "pill",
|
|
20
|
-
* inputBorderRadius: 3,
|
|
21
|
-
* inputBorderWeight: 1,
|
|
22
|
-
* inputsStyle: "pill",
|
|
23
|
-
* showWidgetShadow: false,
|
|
24
|
-
* widgetBorderWeight: 1,
|
|
25
|
-
* widgetCornerRadius: 3,
|
|
26
|
-
* },
|
|
27
|
-
* colors: {
|
|
28
|
-
* bodyText: "#FF00CC",
|
|
29
|
-
* error: "#FF00CC",
|
|
30
|
-
* header: "#FF00CC",
|
|
31
|
-
* icons: "#FF00CC",
|
|
32
|
-
* inputBackground: "#FF00CC",
|
|
33
|
-
* inputBorder: "#FF00CC",
|
|
34
|
-
* inputFilledText: "#FF00CC",
|
|
35
|
-
* inputLabelsPlaceholders: "#FF00CC",
|
|
36
|
-
* linksFocusedComponents: "#FF00CC",
|
|
37
|
-
* primaryButton: "#FF00CC",
|
|
38
|
-
* primaryButtonLabel: "#FF00CC",
|
|
39
|
-
* secondaryButtonBorder: "#FF00CC",
|
|
40
|
-
* secondaryButtonLabel: "#FF00CC",
|
|
41
|
-
* success: "#FF00CC",
|
|
42
|
-
* widgetBackground: "#FF00CC",
|
|
43
|
-
* widgetBorder: "#FF00CC",
|
|
44
|
-
* },
|
|
45
|
-
* fonts: {
|
|
46
|
-
* bodyText: {
|
|
47
|
-
* bold: false,
|
|
48
|
-
* size: 100,
|
|
49
|
-
* },
|
|
50
|
-
* buttonsText: {
|
|
51
|
-
* bold: false,
|
|
52
|
-
* size: 100,
|
|
53
|
-
* },
|
|
54
|
-
* fontUrl: "https://google.com/font.woff",
|
|
55
|
-
* inputLabels: {
|
|
56
|
-
* bold: false,
|
|
57
|
-
* size: 100,
|
|
58
|
-
* },
|
|
59
|
-
* links: {
|
|
60
|
-
* bold: false,
|
|
61
|
-
* size: 100,
|
|
62
|
-
* },
|
|
63
|
-
* linksStyle: "normal",
|
|
64
|
-
* referenceTextSize: 12,
|
|
65
|
-
* subtitle: {
|
|
66
|
-
* bold: false,
|
|
67
|
-
* size: 100,
|
|
68
|
-
* },
|
|
69
|
-
* title: {
|
|
70
|
-
* bold: false,
|
|
71
|
-
* size: 100,
|
|
72
|
-
* },
|
|
73
|
-
* },
|
|
74
|
-
* pageBackground: {
|
|
75
|
-
* backgroundColor: "#000000",
|
|
76
|
-
* backgroundImageUrl: "https://google.com/background.png",
|
|
77
|
-
* pageLayout: "center",
|
|
78
|
-
* },
|
|
79
|
-
* widget: {
|
|
80
|
-
* headerTextAlignment: "center",
|
|
81
|
-
* logoHeight: 55,
|
|
82
|
-
* logoPosition: "center",
|
|
83
|
-
* logoUrl: "https://google.com/logo.png",
|
|
84
|
-
* socialButtonsLayout: "top",
|
|
85
|
-
* },
|
|
86
|
-
* });
|
|
87
|
-
* ```
|
|
88
|
-
* <!--End PulumiCodeChooser -->
|
|
89
|
-
*
|
|
90
7
|
* ## Import
|
|
91
8
|
*
|
|
92
9
|
* This resource can be imported by specifying the Branding Theme ID.
|
package/brandingTheme.js
CHANGED
|
@@ -8,89 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to manage branding themes for your Universal Login page within your Auth0 tenant.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as auth0 from "@pulumi/auth0";
|
|
17
|
-
*
|
|
18
|
-
* // An example of a fully configured auth0_branding_theme.
|
|
19
|
-
* const myTheme = new auth0.BrandingTheme("myTheme", {
|
|
20
|
-
* borders: {
|
|
21
|
-
* buttonBorderRadius: 1,
|
|
22
|
-
* buttonBorderWeight: 1,
|
|
23
|
-
* buttonsStyle: "pill",
|
|
24
|
-
* inputBorderRadius: 3,
|
|
25
|
-
* inputBorderWeight: 1,
|
|
26
|
-
* inputsStyle: "pill",
|
|
27
|
-
* showWidgetShadow: false,
|
|
28
|
-
* widgetBorderWeight: 1,
|
|
29
|
-
* widgetCornerRadius: 3,
|
|
30
|
-
* },
|
|
31
|
-
* colors: {
|
|
32
|
-
* bodyText: "#FF00CC",
|
|
33
|
-
* error: "#FF00CC",
|
|
34
|
-
* header: "#FF00CC",
|
|
35
|
-
* icons: "#FF00CC",
|
|
36
|
-
* inputBackground: "#FF00CC",
|
|
37
|
-
* inputBorder: "#FF00CC",
|
|
38
|
-
* inputFilledText: "#FF00CC",
|
|
39
|
-
* inputLabelsPlaceholders: "#FF00CC",
|
|
40
|
-
* linksFocusedComponents: "#FF00CC",
|
|
41
|
-
* primaryButton: "#FF00CC",
|
|
42
|
-
* primaryButtonLabel: "#FF00CC",
|
|
43
|
-
* secondaryButtonBorder: "#FF00CC",
|
|
44
|
-
* secondaryButtonLabel: "#FF00CC",
|
|
45
|
-
* success: "#FF00CC",
|
|
46
|
-
* widgetBackground: "#FF00CC",
|
|
47
|
-
* widgetBorder: "#FF00CC",
|
|
48
|
-
* },
|
|
49
|
-
* fonts: {
|
|
50
|
-
* bodyText: {
|
|
51
|
-
* bold: false,
|
|
52
|
-
* size: 100,
|
|
53
|
-
* },
|
|
54
|
-
* buttonsText: {
|
|
55
|
-
* bold: false,
|
|
56
|
-
* size: 100,
|
|
57
|
-
* },
|
|
58
|
-
* fontUrl: "https://google.com/font.woff",
|
|
59
|
-
* inputLabels: {
|
|
60
|
-
* bold: false,
|
|
61
|
-
* size: 100,
|
|
62
|
-
* },
|
|
63
|
-
* links: {
|
|
64
|
-
* bold: false,
|
|
65
|
-
* size: 100,
|
|
66
|
-
* },
|
|
67
|
-
* linksStyle: "normal",
|
|
68
|
-
* referenceTextSize: 12,
|
|
69
|
-
* subtitle: {
|
|
70
|
-
* bold: false,
|
|
71
|
-
* size: 100,
|
|
72
|
-
* },
|
|
73
|
-
* title: {
|
|
74
|
-
* bold: false,
|
|
75
|
-
* size: 100,
|
|
76
|
-
* },
|
|
77
|
-
* },
|
|
78
|
-
* pageBackground: {
|
|
79
|
-
* backgroundColor: "#000000",
|
|
80
|
-
* backgroundImageUrl: "https://google.com/background.png",
|
|
81
|
-
* pageLayout: "center",
|
|
82
|
-
* },
|
|
83
|
-
* widget: {
|
|
84
|
-
* headerTextAlignment: "center",
|
|
85
|
-
* logoHeight: 55,
|
|
86
|
-
* logoPosition: "center",
|
|
87
|
-
* logoUrl: "https://google.com/logo.png",
|
|
88
|
-
* socialButtonsLayout: "top",
|
|
89
|
-
* },
|
|
90
|
-
* });
|
|
91
|
-
* ```
|
|
92
|
-
* <!--End PulumiCodeChooser -->
|
|
93
|
-
*
|
|
94
11
|
* ## Import
|
|
95
12
|
*
|
|
96
13
|
* This resource can be imported by specifying the Branding Theme ID.
|
package/brandingTheme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brandingTheme.js","sourceRoot":"","sources":["../brandingTheme.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"brandingTheme.js","sourceRoot":"","sources":["../brandingTheme.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAoBD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC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C,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAnFL,sCAoFC;AAtEG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
|
package/client.d.ts
CHANGED
|
@@ -11,38 +11,18 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as auth0 from "@pulumi/auth0";
|
|
13
13
|
*
|
|
14
|
-
* const myClient = new auth0.Client("
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* audience: "https://example.com/saml",
|
|
18
|
-
* createUpnClaim: false,
|
|
19
|
-
* issuer: "https://example.com",
|
|
20
|
-
* mapIdentities: false,
|
|
21
|
-
* mapUnknownClaimsAsIs: false,
|
|
22
|
-
* mappings: {
|
|
23
|
-
* email: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
|
|
24
|
-
* name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
|
|
25
|
-
* },
|
|
26
|
-
* nameIdentifierFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
|
|
27
|
-
* nameIdentifierProbes: ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],
|
|
28
|
-
* passthroughClaimsWithNoMapping: false,
|
|
29
|
-
* signingCert: `-----BEGIN PUBLIC KEY-----
|
|
30
|
-
* MIGf...bpP/t3
|
|
31
|
-
* +JGNGIRMj1hF1rnb6QIDAQAB
|
|
32
|
-
* -----END PUBLIC KEY-----
|
|
33
|
-
*
|
|
34
|
-
* `,
|
|
35
|
-
* },
|
|
36
|
-
* },
|
|
37
|
-
* allowedLogoutUrls: ["https://example.com"],
|
|
38
|
-
* allowedOrigins: ["https://example.com"],
|
|
14
|
+
* const myClient = new auth0.Client("my_client", {
|
|
15
|
+
* name: "Application - Acceptance Test",
|
|
16
|
+
* description: "Test Applications Long Description",
|
|
39
17
|
* appType: "non_interactive",
|
|
40
|
-
* callbacks: ["https://example.com/callback"],
|
|
41
|
-
* clientMetadata: {
|
|
42
|
-
* foo: "zoo",
|
|
43
|
-
* },
|
|
44
18
|
* customLoginPageOn: true,
|
|
45
|
-
*
|
|
19
|
+
* isFirstParty: true,
|
|
20
|
+
* isTokenEndpointIpHeaderTrusted: true,
|
|
21
|
+
* oidcConformant: false,
|
|
22
|
+
* callbacks: ["https://example.com/callback"],
|
|
23
|
+
* allowedOrigins: ["https://example.com"],
|
|
24
|
+
* allowedLogoutUrls: ["https://example.com"],
|
|
25
|
+
* webOrigins: ["https://example.com"],
|
|
46
26
|
* grantTypes: [
|
|
47
27
|
* "authorization_code",
|
|
48
28
|
* "http://auth0.com/oauth/grant-type/password-realm",
|
|
@@ -50,30 +30,50 @@ import * as outputs from "./types/output";
|
|
|
50
30
|
* "password",
|
|
51
31
|
* "refresh_token",
|
|
52
32
|
* ],
|
|
53
|
-
*
|
|
54
|
-
*
|
|
33
|
+
* clientMetadata: {
|
|
34
|
+
* foo: "zoo",
|
|
35
|
+
* },
|
|
55
36
|
* jwtConfiguration: {
|
|
56
|
-
* alg: "RS256",
|
|
57
37
|
* lifetimeInSeconds: 300,
|
|
38
|
+
* secretEncoded: true,
|
|
39
|
+
* alg: "RS256",
|
|
58
40
|
* scopes: {
|
|
59
41
|
* foo: "bar",
|
|
60
42
|
* },
|
|
61
|
-
*
|
|
43
|
+
* },
|
|
44
|
+
* refreshToken: {
|
|
45
|
+
* leeway: 0,
|
|
46
|
+
* tokenLifetime: 2592000,
|
|
47
|
+
* rotationType: "rotating",
|
|
48
|
+
* expirationType: "expiring",
|
|
62
49
|
* },
|
|
63
50
|
* mobile: {
|
|
64
51
|
* ios: {
|
|
65
|
-
* appBundleIdentifier: "com.my.bundle.id",
|
|
66
52
|
* teamId: "9JA89QQLNQ",
|
|
53
|
+
* appBundleIdentifier: "com.my.bundle.id",
|
|
67
54
|
* },
|
|
68
55
|
* },
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
56
|
+
* addons: {
|
|
57
|
+
* samlp: {
|
|
58
|
+
* audience: "https://example.com/saml",
|
|
59
|
+
* issuer: "https://example.com",
|
|
60
|
+
* mappings: {
|
|
61
|
+
* email: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
|
|
62
|
+
* name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
|
|
63
|
+
* },
|
|
64
|
+
* createUpnClaim: false,
|
|
65
|
+
* passthroughClaimsWithNoMapping: false,
|
|
66
|
+
* mapUnknownClaimsAsIs: false,
|
|
67
|
+
* mapIdentities: false,
|
|
68
|
+
* nameIdentifierFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
|
|
69
|
+
* nameIdentifierProbes: ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],
|
|
70
|
+
* signingCert: `-----BEGIN PUBLIC KEY-----
|
|
71
|
+
* MIGf...bpP/t3
|
|
72
|
+
* +JGNGIRMj1hF1rnb6QIDAQAB
|
|
73
|
+
* -----END PUBLIC KEY-----
|
|
74
|
+
* `,
|
|
75
|
+
* },
|
|
75
76
|
* },
|
|
76
|
-
* webOrigins: ["https://example.com"],
|
|
77
77
|
* });
|
|
78
78
|
* ```
|
|
79
79
|
* <!--End PulumiCodeChooser -->
|
package/client.js
CHANGED
|
@@ -15,38 +15,18 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as auth0 from "@pulumi/auth0";
|
|
17
17
|
*
|
|
18
|
-
* const myClient = new auth0.Client("
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* audience: "https://example.com/saml",
|
|
22
|
-
* createUpnClaim: false,
|
|
23
|
-
* issuer: "https://example.com",
|
|
24
|
-
* mapIdentities: false,
|
|
25
|
-
* mapUnknownClaimsAsIs: false,
|
|
26
|
-
* mappings: {
|
|
27
|
-
* email: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
|
|
28
|
-
* name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
|
|
29
|
-
* },
|
|
30
|
-
* nameIdentifierFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
|
|
31
|
-
* nameIdentifierProbes: ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],
|
|
32
|
-
* passthroughClaimsWithNoMapping: false,
|
|
33
|
-
* signingCert: `-----BEGIN PUBLIC KEY-----
|
|
34
|
-
* MIGf...bpP/t3
|
|
35
|
-
* +JGNGIRMj1hF1rnb6QIDAQAB
|
|
36
|
-
* -----END PUBLIC KEY-----
|
|
37
|
-
*
|
|
38
|
-
* `,
|
|
39
|
-
* },
|
|
40
|
-
* },
|
|
41
|
-
* allowedLogoutUrls: ["https://example.com"],
|
|
42
|
-
* allowedOrigins: ["https://example.com"],
|
|
18
|
+
* const myClient = new auth0.Client("my_client", {
|
|
19
|
+
* name: "Application - Acceptance Test",
|
|
20
|
+
* description: "Test Applications Long Description",
|
|
43
21
|
* appType: "non_interactive",
|
|
44
|
-
* callbacks: ["https://example.com/callback"],
|
|
45
|
-
* clientMetadata: {
|
|
46
|
-
* foo: "zoo",
|
|
47
|
-
* },
|
|
48
22
|
* customLoginPageOn: true,
|
|
49
|
-
*
|
|
23
|
+
* isFirstParty: true,
|
|
24
|
+
* isTokenEndpointIpHeaderTrusted: true,
|
|
25
|
+
* oidcConformant: false,
|
|
26
|
+
* callbacks: ["https://example.com/callback"],
|
|
27
|
+
* allowedOrigins: ["https://example.com"],
|
|
28
|
+
* allowedLogoutUrls: ["https://example.com"],
|
|
29
|
+
* webOrigins: ["https://example.com"],
|
|
50
30
|
* grantTypes: [
|
|
51
31
|
* "authorization_code",
|
|
52
32
|
* "http://auth0.com/oauth/grant-type/password-realm",
|
|
@@ -54,30 +34,50 @@ const utilities = require("./utilities");
|
|
|
54
34
|
* "password",
|
|
55
35
|
* "refresh_token",
|
|
56
36
|
* ],
|
|
57
|
-
*
|
|
58
|
-
*
|
|
37
|
+
* clientMetadata: {
|
|
38
|
+
* foo: "zoo",
|
|
39
|
+
* },
|
|
59
40
|
* jwtConfiguration: {
|
|
60
|
-
* alg: "RS256",
|
|
61
41
|
* lifetimeInSeconds: 300,
|
|
42
|
+
* secretEncoded: true,
|
|
43
|
+
* alg: "RS256",
|
|
62
44
|
* scopes: {
|
|
63
45
|
* foo: "bar",
|
|
64
46
|
* },
|
|
65
|
-
*
|
|
47
|
+
* },
|
|
48
|
+
* refreshToken: {
|
|
49
|
+
* leeway: 0,
|
|
50
|
+
* tokenLifetime: 2592000,
|
|
51
|
+
* rotationType: "rotating",
|
|
52
|
+
* expirationType: "expiring",
|
|
66
53
|
* },
|
|
67
54
|
* mobile: {
|
|
68
55
|
* ios: {
|
|
69
|
-
* appBundleIdentifier: "com.my.bundle.id",
|
|
70
56
|
* teamId: "9JA89QQLNQ",
|
|
57
|
+
* appBundleIdentifier: "com.my.bundle.id",
|
|
71
58
|
* },
|
|
72
59
|
* },
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
60
|
+
* addons: {
|
|
61
|
+
* samlp: {
|
|
62
|
+
* audience: "https://example.com/saml",
|
|
63
|
+
* issuer: "https://example.com",
|
|
64
|
+
* mappings: {
|
|
65
|
+
* email: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
|
|
66
|
+
* name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
|
|
67
|
+
* },
|
|
68
|
+
* createUpnClaim: false,
|
|
69
|
+
* passthroughClaimsWithNoMapping: false,
|
|
70
|
+
* mapUnknownClaimsAsIs: false,
|
|
71
|
+
* mapIdentities: false,
|
|
72
|
+
* nameIdentifierFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
|
|
73
|
+
* nameIdentifierProbes: ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],
|
|
74
|
+
* signingCert: `-----BEGIN PUBLIC KEY-----
|
|
75
|
+
* MIGf...bpP/t3
|
|
76
|
+
* +JGNGIRMj1hF1rnb6QIDAQAB
|
|
77
|
+
* -----END PUBLIC KEY-----
|
|
78
|
+
* `,
|
|
79
|
+
* },
|
|
79
80
|
* },
|
|
80
|
-
* webOrigins: ["https://example.com"],
|
|
81
81
|
* });
|
|
82
82
|
* ```
|
|
83
83
|
* <!--End PulumiCodeChooser -->
|
package/clientCredentials.d.ts
CHANGED
|
@@ -7,60 +7,6 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
* > Refer to the client secret rotation guide
|
|
8
8
|
* for instructions on how to rotate client secrets with zero downtime.
|
|
9
9
|
*
|
|
10
|
-
* ## Example Usage
|
|
11
|
-
*
|
|
12
|
-
* <!--Start PulumiCodeChooser -->
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
-
*
|
|
17
|
-
* const myClient = new auth0.Client("myClient", {
|
|
18
|
-
* appType: "non_interactive",
|
|
19
|
-
* jwtConfiguration: {
|
|
20
|
-
* alg: "RS256",
|
|
21
|
-
* },
|
|
22
|
-
* });
|
|
23
|
-
* // Configuring client_secret_post as an authentication method.
|
|
24
|
-
* const testClientCredentials = new auth0.ClientCredentials("testClientCredentials", {
|
|
25
|
-
* clientId: myClient.id,
|
|
26
|
-
* authenticationMethod: "client_secret_post",
|
|
27
|
-
* });
|
|
28
|
-
* // Configuring client_secret_basic as an authentication method.
|
|
29
|
-
* const testIndex_clientCredentialsClientCredentials = new auth0.ClientCredentials("testIndex/clientCredentialsClientCredentials", {
|
|
30
|
-
* clientId: myClient.id,
|
|
31
|
-
* authenticationMethod: "client_secret_basic",
|
|
32
|
-
* });
|
|
33
|
-
* // Configuring none as an authentication method.
|
|
34
|
-
* const testAuth0Index_clientCredentialsClientCredentials = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials", {
|
|
35
|
-
* clientId: myClient.id,
|
|
36
|
-
* authenticationMethod: "none",
|
|
37
|
-
* });
|
|
38
|
-
* // Configuring private_key_jwt as an authentication method.
|
|
39
|
-
* const testAuth0Index_clientCredentialsClientCredentials1 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials1", {
|
|
40
|
-
* clientId: myClient.id,
|
|
41
|
-
* authenticationMethod: "private_key_jwt",
|
|
42
|
-
* privateKeyJwt: {
|
|
43
|
-
* credentials: [{
|
|
44
|
-
* name: "Testing Credentials 1",
|
|
45
|
-
* credentialType: "public_key",
|
|
46
|
-
* algorithm: "RS256",
|
|
47
|
-
* parseExpiryFromCert: true,
|
|
48
|
-
* pem: `-----BEGIN CERTIFICATE-----
|
|
49
|
-
* MIIFWDCCA0ACCQDXqpBo3R...G9w0BAQsFADBuMQswCQYDVQQGEwJl
|
|
50
|
-
* -----END CERTIFICATE-----
|
|
51
|
-
* `,
|
|
52
|
-
* }],
|
|
53
|
-
* },
|
|
54
|
-
* });
|
|
55
|
-
* // Configuring the client_secret.
|
|
56
|
-
* const testAuth0Index_clientCredentialsClientCredentials2 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials2", {
|
|
57
|
-
* clientId: myClient.id,
|
|
58
|
-
* authenticationMethod: "client_secret_basic",
|
|
59
|
-
* clientSecret: "LUFqPx+sRLjbL7peYRPFmFu-bbvE7u7og4YUNe_C345=683341",
|
|
60
|
-
* });
|
|
61
|
-
* ```
|
|
62
|
-
* <!--End PulumiCodeChooser -->
|
|
63
|
-
*
|
|
64
10
|
* ## Import
|
|
65
11
|
*
|
|
66
12
|
* This resource can be imported by specifying the client ID.
|