Sets the UI customization information for a user pool's built-in app UI.
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.
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.
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.