Skip to main content

 

I’ve two questions

  1. What is the key name to change the phrase `LOGIN WITH OPENIDCONNECT`?
  2.  How do I display an custom icon inside the button?

Hi @prashanth - the key for that one is:

common - sso.openidconnect.login.title - Login with OpenIdConnect

If you want to have an icon, you should be able to either include emoji or an HTML image link in the phrase (the phrases generally support HTML).  To be honest I haven’t thoroughly tested that myself but I suspect it will work.


@Kenneth R I was able to use the phrase I wanted with the key you shared. However, when I included the SVG icon to display in the button, the Digital Hub application broke and now shows a blank screen. Additionally, I can't log in to the CC app (Network error:422 Unprocessable Content), so I couldn't revert the change. Can you tell me a way to rollback the change?


That doesn’t sound good - let me send you a DM.


Hi @prashanth - now that your sandbox is back, let me come back to your original question.  :)

I checked with our engineers.  We have some phrases that are designed to handle HTML, an obvious one being the ‘terms’ for the community. 

Most of the remaining phrases were designed to just handle text, and that’s the recommendation for buttons like this one.  As we did here today, it is possible to simply try it out, but if it doesn’t work it is because most of the phrases weren’t designed to cater for it.


@Kenneth R Got it, Thank you for your prompt responses 


Reply