Sets the UI customization information for a user pool's built-in app UI.
You can specify app UI customization settings for a single client (with
clientId) or for all clients (by setting the
ALL). If you specify
ALL, the default configuration will be used for
every client that has no UI customization set previously. If you specify
UI customization settings for a particular client, it will no longer
fall back to the
To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.
cognitoidentityprovider_set_ui_customization(UserPoolId, ClientId, CSS, ImageFile)
[required] The user pool ID for the user pool.
The client ID for the client app.
The CSS values in the UI customization.
The uploaded logo image for the UI customization.
A list with the following syntax:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 2 3 4 5 6
svc$set_ui_customization( UserPoolId = "string", ClientId = "string", CSS = "string", ImageFile = raw )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.