Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 "@auth0/auth0-spa-js": "^1.6.0"为我的反应应用程序使用 auth0 挂钩。 如何更改登录锁中的默认徽标 forom auth0?我要更改的徽标以红色突出显示
"@auth0/auth0-spa-js": "^1.6.0"
我已经更新了仪表板中的应用程序徽标,但它仍然没有显示。 先谢谢了
假设您使用的是通用登录,您可以转到 Auth0 仪表板 > 通用登录页面并打开Customize Login Page切换。
Customize Login Page
完成后,找到themeAuth0 Lock 配置选项。我应该看起来像这样
theme
theme: { //logo: 'YOUR LOGO HERE', primaryColor: colors.primary ? colors.primary : 'green' },
取消注释该logo属性并指向您的徽标的图像 url。Auth0 Lock的logo其他定制请参考官方文档
logo