Skip to main content

customized_sign_in_page

Creates, updates, deletes, gets or lists a customized_sign_in_page resource.

Overview​

Namecustomized_sign_in_page
TypeResource
Idokta.brands.customized_sign_in_page

Fields​

The following fields are returned by SELECT queries:

Successfully retrieved the customized sign-in page.

NameDatatypeDescription
contentSecurityPolicySettingobject
pageContentstringThe HTML for the page
widgetCustomizationsobject
widgetVersionstringThe version specified as a Semantic Version. This value can be a wildcard (*), a major version range (for example, ^2), a major-only version (for example, 7), or a specific Major.Minor version (for example, 5.15). (pattern: ^(?:*|^?\d+(?:.\d+){0,2})$)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_customized_sign_in_pageselectbrandId, subdomainRetrieves the customized sign-in page. The customized sign-in page appears in your live environment.
replace_customized_sign_in_pagereplacebrandId, subdomainReplaces the customized sign-in page. The customized sign-in page appears in your live environment.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
brandIdstringThe ID of the brand
subdomainstring(default: my-org)

SELECT examples​

Retrieves the customized sign-in page. The customized sign-in page appears in your live environment.

SELECT
contentSecurityPolicySetting,
pageContent,
widgetCustomizations,
widgetVersion
FROM okta.brands.customized_sign_in_page
WHERE brandId = '{{ brandId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

REPLACE examples​

Replaces the customized sign-in page. The customized sign-in page appears in your live environment.

REPLACE okta.brands.customized_sign_in_page
SET
pageContent = '{{ pageContent }}',
contentSecurityPolicySetting = '{{ contentSecurityPolicySetting }}',
widgetCustomizations = '{{ widgetCustomizations }}',
widgetVersion = '{{ widgetVersion }}'
WHERE
brandId = '{{ brandId }}' --required
AND subdomain = '{{ subdomain }}' --required
RETURNING
contentSecurityPolicySetting,
pageContent,
widgetCustomizations,
widgetVersion;