diff --git a/docs/resources/prompt_screen_renderer.md b/docs/resources/prompt_screen_renderer.md index a4ead1dc..c16b8786 100644 --- a/docs/resources/prompt_screen_renderer.md +++ b/docs/resources/prompt_screen_renderer.md @@ -1,12 +1,12 @@ --- page_title: "Resource: auth0_prompt_screen_renderer" description: |- - With this resource, you can Configure the render settings for a specific screen.You can read more about this. + With this resource, you can Configure the render settings for a specific screen.You can read more about this here https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens. --- # Resource: auth0_prompt_screen_renderer -With this resource, you can Configure the render settings for a specific screen.You can read more about this. +With this resource, you can Configure the render settings for a specific screen.You can read more about this [here](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens). ## Example Usage @@ -57,8 +57,8 @@ resource "auth0_prompt_screen_renderer" "prompt_screen_renderer" { ### Required -- `prompt_type` (String) The prompt that you are configuring settings for. Options are: `signup-id`, `signup`, `signup-password`, `login`, `login-id`, `login-password`, `login-passwordless`, `login-email-verification`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `reset-password`, `custom-form`, `consent`, `customized-consent`, `logout`, `mfa-push`, `mfa-otp`, `mfa-voice`, `mfa-phone`, `mfa-webauthn`, `mfa-sms`, `mfa-email`, `mfa-recovery-code`, `mfa`, `status`, `device-flow`, `email-verification`, `email-otp-challenge`, `organizations`, `invitation`, `common`, `passkeys`, `captcha`. -- `screen_name` (String) The screen that you are configuring settings for. Options are: `login`, `login-id`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `login-passwordless-email-link`, `login-email-verification`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `reset-password-mfa-email-challenge`, `reset-password-mfa-otp-challenge`, `reset-password-mfa-phone-challenge`, `reset-password-mfa-push-challenge-push`, `reset-password-mfa-recovery-code-challenge`, `reset-password-mfa-sms-challenge`, `reset-password-mfa-voice-challenge`, `reset-password-mfa-webauthn-platform-challenge`, `reset-password-mfa-webauthn-roaming-challenge`, `custom-form`, `consent`, `customized-consent`, `logout`, `logout-complete`, `logout-aborted`, `mfa-push-welcome`, `mfa-push-enrollment-qr`, `mfa-push-enrollment-code`, `mfa-push-success`, `mfa-push-challenge-push`, `mfa-push-list`, `mfa-otp-enrollment-qr`, `mfa-otp-enrollment-code`, `mfa-otp-challenge`, `mfa-voice-enrollment`, `mfa-voice-challenge`, `mfa-phone-challenge`, `mfa-phone-enrollment`, `mfa-webauthn-platform-enrollment`, `mfa-webauthn-roaming-enrollment`, `mfa-webauthn-platform-challenge`, `mfa-webauthn-roaming-challenge`, `mfa-webauthn-change-key-nickname`, `mfa-webauthn-enrollment-success`, `mfa-webauthn-error`, `mfa-webauthn-not-available-error`, `mfa-country-codes`, `mfa-sms-enrollment`, `mfa-sms-challenge`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-recovery-code-enrollment`, `mfa-recovery-code-challenge`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-login-options`, `mfa-begin-enroll-options`, `status`, `device-code-activation`, `device-code-activation-allowed`, `device-code-activation-denied`, `device-code-confirmation`, `email-verification-result`, `email-otp-challenge`, `organization-selection`, `organization-picker`, `accept-invitation`, `redeem-ticket`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`. +- `prompt_type` (String) The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`. +- `screen_name` (String) The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`. ### Optional diff --git a/internal/auth0/prompt/resource_screen_render.go b/internal/auth0/prompt/resource_screen_render.go index 2a30215d..818fc538 100644 --- a/internal/auth0/prompt/resource_screen_render.go +++ b/internal/auth0/prompt/resource_screen_render.go @@ -19,118 +19,26 @@ import ( var ( allowedPromptsSettingsRenderer = []string{ string(management.PromptSignupID), - string(management.PromptSignup), string(management.PromptSignupPassword), - string(management.PromptLogin), string(management.PromptLoginID), string(management.PromptLoginPassword), string(management.PromptLoginPasswordLess), - string(management.PromptLoginEmailVerification), string(management.PromptPhoneIdentifierEnrollment), string(management.PromptPhoneIdentifierChallenge), string(management.PromptEmailIdentifierChallenge), - string(management.PromptResetPassword), - string(management.PromptCustomForm), - string(management.PromptConsent), - string(management.PromptCustomizedConsent), - string(management.PromptLogout), - string(management.PromptMFAPush), - string(management.PromptMFAOTP), - string(management.PromptMFAVoice), - string(management.PromptMFAPhone), - string(management.PromptMFAWebAuthn), - string(management.PromptMFASMS), - string(management.PromptMFAEmail), - string(management.PromptMFARecoveryCode), - string(management.PromptMFA), - string(management.PromptStatus), - string(management.PromptDeviceFlow), - string(management.PromptEmailVerification), - string(management.PromptEmailOTPChallenge), - string(management.PromptOrganizations), - string(management.PromptInvitation), - string(management.PromptCommon), string(management.PromptPasskeys), string(management.PromptCaptcha), } allowedScreensSettingsRenderer = []string{ - string(management.ScreenLogin), - string(management.ScreenLoginID), - string(management.ScreenLoginPassword), - string(management.ScreenSignup), string(management.ScreenSignupID), string(management.ScreenSignupPassword), + string(management.ScreenLoginID), + string(management.ScreenLoginPassword), string(management.ScreenLoginPasswordlessSMSOTP), string(management.ScreenLoginPasswordlessEmailCode), - string(management.ScreenLoginPasswordlessEmailLink), - string(management.ScreenLoginEmailVerification), string(management.ScreenPhoneIdentifierEnrollment), string(management.ScreenPhoneIdentifierChallenge), string(management.ScreenEmailIdentifierChallenge), - string(management.ScreenResetPasswordRequest), - string(management.ScreenResetPasswordEmail), - string(management.ScreenResetPassword), - string(management.ScreenResetPasswordSuccess), - string(management.ScreenResetPasswordError), - string(management.ScreenResetPasswordMFAEmailChallenge), - string(management.ScreenResetPasswordMFAOTPChallenge), - string(management.ScreenResetPasswordMFAPhoneChallenge), - string(management.ScreenResetPasswordMFAPushChallengePush), - string(management.ScreenResetPasswordMFARecoveryCodeChallenge), - string(management.ScreenResetPasswordMFASMSChallenge), - string(management.ScreenResetPasswordMFAVoiceChallenge), - string(management.ScreenResetPasswordMFAWebAuthnPlatformChallenge), - string(management.ScreenResetPasswordMFAWebAuthnRoamingChallenge), - string(management.ScreenCustomForm), - string(management.ScreenConsent), - string(management.ScreenCustomizedConsent), - string(management.ScreenLogout), - string(management.ScreenLogoutComplete), - string(management.ScreenLogoutAborted), - string(management.ScreenMFAPushWelcome), - string(management.ScreenMFAPushEnrollmentQR), - string(management.ScreenMFAPushEnrollmentCode), - string(management.ScreenMFAPushSuccess), - string(management.ScreenMFAPushChallengePush), - string(management.ScreenMFAPushList), - string(management.ScreenMFAOTPEnrollmentQR), - string(management.ScreenMFAOTPEnrollmentCode), - string(management.ScreenMFAOTPChallenge), - string(management.ScreenMFAVoiceEnrollment), - string(management.ScreenMFAVoiceChallenge), - string(management.ScreenMFAPhoneChallenge), - string(management.ScreenMFAPhoneEnrollment), - string(management.ScreenMFAWebAuthnPlatformEnrollment), - string(management.ScreenMFAWebAuthnRoamingEnrollment), - string(management.ScreenMFAWebAuthnPlatformChallenge), - string(management.ScreenMFAWebAuthnRoamingChallenge), - string(management.ScreenMFAWebAuthnChangeKeyNickname), - string(management.ScreenMFAWebAuthnEnrollmentSuccess), - string(management.ScreenMFAWebAuthnError), - string(management.ScreenMFAWebAuthnNotAvailableError), - string(management.ScreenMFACountryCodes), - string(management.ScreenMFASMSEnrollment), - string(management.ScreenMFASMSChallenge), - string(management.ScreenMFASMSList), - string(management.ScreenMFAEmailChallenge), - string(management.ScreenMFAEmailList), - string(management.ScreenMFARecoveryCodeEnrollment), - string(management.ScreenMFARecoveryCodeChallenge), - string(management.ScreenMFADetectBrowserCapabilities), - string(management.ScreenMFAEnrollResult), - string(management.ScreenMFALoginOptions), - string(management.ScreenMFABeginEnrollOptions), - string(management.ScreenStatus), - string(management.ScreenDeviceCodeActivation), - string(management.ScreenDeviceCodeActivationAllowed), - string(management.ScreenDeviceCodeActivationDenied), - string(management.ScreenDeviceCodeConfirmation), - string(management.ScreenEmailVerificationResult), - string(management.ScreenEmailOTPChallenge), - string(management.ScreenOrganizationSelection), - string(management.ScreenOrganizationPicker), - string(management.ScreenAcceptInvitation), - string(management.ScreenRedeemTicket), string(management.ScreenPasskeyEnrollment), string(management.ScreenPasskeyEnrollmentLocal), string(management.ScreenInterstitialCaptcha), @@ -150,7 +58,7 @@ func NewPromptScreenRenderResource() *schema.Resource { StateContext: schema.ImportStatePassthroughContext, }, Description: "With this resource, you can Configure the render settings for a specific screen." + - "You can read more about this.", + "You can read more about this [here](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens).", Schema: map[string]*schema.Schema{ "prompt_type": { Type: schema.TypeString, diff --git a/internal/auth0/prompt/resource_screen_render_test.go b/internal/auth0/prompt/resource_screen_render_test.go index 044f17c3..a970137d 100644 --- a/internal/auth0/prompt/resource_screen_render_test.go +++ b/internal/auth0/prompt/resource_screen_render_test.go @@ -38,8 +38,8 @@ resource "auth0_prompt_screen_renderer" "login-id" { testAccPromptScreenRenderCreate = testAccPromptScreenRenderWithoutSettings + ` resource "auth0_prompt_screen_renderer" "prompt_screen_renderer" { - prompt_type = "logout" - screen_name = "logout" + prompt_type = "login-password" + screen_name = "login-password" rendering_mode = "advanced" head_tags = jsonencode([ @@ -78,8 +78,8 @@ resource "auth0_prompt_screen_renderer" "prompt_screen_renderer" { testAccPromptScreenRenderUpdate = ` resource "auth0_prompt_screen_renderer" "prompt_screen_renderer" { - prompt_type = "logout" - screen_name = "logout" + prompt_type = "login-password" + screen_name = "login-password" rendering_mode = "advanced" head_tags = jsonencode([ @@ -116,8 +116,8 @@ resource "auth0_prompt_screen_renderer" "prompt_screen_renderer" { testAccPromptScreenRenderDataAfterDelete = ` data "auth0_prompt_screen_renderer" "prompt_screen_renderer" { - prompt_type = "logout" - screen_name = "logout" + prompt_type = "login-password" + screen_name = "login-password" } ` ) @@ -149,8 +149,8 @@ func TestAccPromptScreenSettings(t *testing.T) { { Config: testAccPromptScreenRenderCreate, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "prompt_type", "logout"), - resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "screen_name", "logout"), + resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "prompt_type", "login-password"), + resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "screen_name", "login-password"), resource.TestCheckResourceAttrSet("auth0_prompt_screen_renderer.prompt_screen_renderer", "id"), resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "rendering_mode", "advanced"), resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "context_configuration.#", "15"), @@ -159,8 +159,8 @@ func TestAccPromptScreenSettings(t *testing.T) { { Config: testAccPromptScreenRenderUpdate, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "prompt_type", "logout"), - resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "screen_name", "logout"), + resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "prompt_type", "login-password"), + resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "screen_name", "login-password"), resource.TestCheckResourceAttrSet("auth0_prompt_screen_renderer.prompt_screen_renderer", "id"), resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "rendering_mode", "advanced"), resource.TestCheckResourceAttr("auth0_prompt_screen_renderer.prompt_screen_renderer", "context_configuration.#", "11"), @@ -172,7 +172,7 @@ func TestAccPromptScreenSettings(t *testing.T) { { Config: testAccPromptScreenRenderDataAfterDelete, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.auth0_prompt_screen_renderer.prompt_screen_renderer", "prompt_type", "logout"), + resource.TestCheckResourceAttr("data.auth0_prompt_screen_renderer.prompt_screen_renderer", "prompt_type", "login-password"), resource.TestCheckResourceAttr("data.auth0_prompt_screen_renderer.prompt_screen_renderer", "rendering_mode", "standard"), ), }, diff --git a/test/data/recordings/TestAccPromptScreenSettings.yaml b/test/data/recordings/TestAccPromptScreenSettings.yaml index 6de7ef2c..c7340240 100644 --- a/test/data/recordings/TestAccPromptScreenSettings.yaml +++ b/test/data/recordings/TestAccPromptScreenSettings.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: PATCH response: @@ -36,7 +36,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 405.570916ms + duration: 338.58025ms - id: 1 request: proto: HTTP/1.1 @@ -54,7 +54,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -71,7 +71,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 380.146042ms + duration: 343.325125ms - id: 2 request: proto: HTTP/1.1 @@ -89,7 +89,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -106,7 +106,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 405.612458ms + duration: 343.8635ms - id: 3 request: proto: HTTP/1.1 @@ -124,7 +124,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -141,7 +141,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 666.710083ms + duration: 343.504ms - id: 4 request: proto: HTTP/1.1 @@ -160,8 +160,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: PATCH response: proto: HTTP/2.0 @@ -177,7 +177,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 633.048625ms + duration: 340.155541ms - id: 5 request: proto: HTTP/1.1 @@ -195,8 +195,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -206,13 +206,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","organization.metadata.key","screen.texts","tenant.enabled_locales","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.screen_hint","untrusted_data.authorization_params.ui_locales","untrusted_data.submitted_form_data"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","organization.metadata.key","screen.texts","tenant.enabled_locales","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.screen_hint","untrusted_data.authorization_params.ui_locales","untrusted_data.submitted_form_data"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 377.745791ms + duration: 324.608875ms - id: 6 request: proto: HTTP/1.1 @@ -230,7 +230,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -247,7 +247,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 444.621458ms + duration: 339.319917ms - id: 7 request: proto: HTTP/1.1 @@ -265,8 +265,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -276,13 +276,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","organization.metadata.key","screen.texts","tenant.enabled_locales","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.screen_hint","untrusted_data.authorization_params.ui_locales","untrusted_data.submitted_form_data"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","organization.metadata.key","screen.texts","tenant.enabled_locales","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.screen_hint","untrusted_data.authorization_params.ui_locales","untrusted_data.submitted_form_data"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 444.686ms + duration: 349.354042ms - id: 8 request: proto: HTTP/1.1 @@ -300,7 +300,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -317,7 +317,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 375.254458ms + duration: 408.878709ms - id: 9 request: proto: HTTP/1.1 @@ -335,8 +335,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -346,33 +346,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","organization.metadata.key","screen.texts","tenant.enabled_locales","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.screen_hint","untrusted_data.authorization_params.ui_locales","untrusted_data.submitted_form_data"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","organization.metadata.key","screen.texts","tenant.enabled_locales","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.screen_hint","untrusted_data.authorization_params.ui_locales","untrusted_data.submitted_form_data"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 383.805041ms + duration: 409.17225ms - id: 10 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 30 + content_length: 343 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"rendering_mode":"standard"} + {"rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: PATCH response: proto: HTTP/2.0 @@ -380,35 +380,35 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 29 - uncompressed: false - body: '{"rendering_mode":"standard"}' + content_length: -1 + uncompressed: true + body: '{"rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 379.831417ms + duration: 341.633041ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 343 + content_length: 30 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"]} + {"rendering_mode":"standard"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: PATCH response: proto: HTTP/2.0 @@ -416,15 +416,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: -1 - uncompressed: true - body: '{"rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"]}' + content_length: 29 + uncompressed: false + body: '{"rendering_mode":"standard"}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 423.4195ms + duration: 342.723208ms - id: 12 request: proto: HTTP/1.1 @@ -442,8 +442,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -453,13 +453,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 403.72325ms + duration: 425.849375ms - id: 13 request: proto: HTTP/1.1 @@ -477,8 +477,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -488,13 +488,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 380.634542ms + duration: 310.2235ms - id: 14 request: proto: HTTP/1.1 @@ -512,8 +512,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -523,13 +523,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"advanced","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 389.286083ms + duration: 312.040167ms - id: 15 request: proto: HTTP/1.1 @@ -548,7 +548,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: PATCH response: @@ -565,7 +565,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 376.224166ms + duration: 318.819875ms - id: 16 request: proto: HTTP/1.1 @@ -584,8 +584,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: PATCH response: proto: HTTP/2.0 @@ -601,7 +601,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 402.608209ms + duration: 338.461208ms - id: 17 request: proto: HTTP/1.1 @@ -619,7 +619,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -636,7 +636,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 357.666834ms + duration: 333.823833ms - id: 18 request: proto: HTTP/1.1 @@ -654,7 +654,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -671,7 +671,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 363.972083ms + duration: 308.618125ms - id: 19 request: proto: HTTP/1.1 @@ -689,8 +689,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -700,13 +700,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"standard","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"standard","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 416.689541ms + duration: 307.653667ms - id: 20 request: proto: HTTP/1.1 @@ -724,7 +724,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: GET response: @@ -741,7 +741,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 416.800667ms + duration: 312.746666ms - id: 21 request: proto: HTTP/1.1 @@ -760,7 +760,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 + - Go-Auth0/1.13.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-id/screen/login-id/rendering method: PATCH response: @@ -777,7 +777,7 @@ interactions: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 388.451333ms + duration: 326.137042ms - id: 22 request: proto: HTTP/1.1 @@ -795,8 +795,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -806,13 +806,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"standard","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"standard","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 359.424ms + duration: 334.479708ms - id: 23 request: proto: HTTP/1.1 @@ -830,8 +830,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0/1.11.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/logout/screen/logout/rendering + - Go-Auth0/1.13.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/prompts/login-password/screen/login-password/rendering method: GET response: proto: HTTP/2.0 @@ -841,10 +841,10 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"tenant":"terraform-provider-auth0-dev","prompt":"logout","screen":"logout","rendering_mode":"standard","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' + body: '{"tenant":"terraform-provider-auth0-dev","prompt":"login-password","screen":"login-password","rendering_mode":"standard","context_configuration":["branding.settings","branding.themes.default","client.description","client.logo_uri","organization.branding","organization.display_name","screen.texts","tenant.friendly_name","tenant.name","untrusted_data.authorization_params.login_hint","untrusted_data.authorization_params.ui_locales"],"default_head_tags_disabled":false,"head_tags":[{"tag":"script","attributes":{"src":"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js","async":true,"defer":true,"integrity":["sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="]}}]}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 395.559209ms + duration: 368.148459ms