We want the logo on the login screen to use the logo configured for the application… I tried this but it doesn’t seem to work, and I don’t really know why. I’m sure I’m doing something dumb with the templates etc, but I’m extremely new, so be gentle
// Available Lock configuration options: https://auth0.com/docs/libraries/lock/v11/configuration
var lock = new Auth0Lock(config.clientID, config.auth0Domain, {
auth: {
redirectUrl: config.callbackURL,
responseType: (config.internalOptions || {}).response_type ||
(config.callbackOnLocationHash ? 'token' : 'code'),
params: config.internalOptions
},
configurationBaseUrl: config.clientConfigurationBaseUrl,
overrides: {
__tenant: config.auth0Tenant,
__token_issuer: config.authorizationServer.issuer
},
assetsUrl: config.assetsUrl,
allowedConnections: connection ? [connection] : null,
rememberLastLogin: !prompt,
language: language,
languageBaseUrl: config.languageBaseUrl,
languageDictionary: languageDictionary,
theme: {
logo: '{{ application.logo_url }}',
primaryColor: colors.primary ? colors.primary : 'green'
},
This is unchanged from the default except for the logo:
line.
This just doesn’t show an image at all when I use the preview, even though the application definitely has a logo_url set up.
What’s the right way to do this?