[mitreid-connect] Branding

Justin Richer jricher at mit.edu
Tue Feb 9 14:29:22 EST 2016


The best ways to brand it is to use the CSS, messages files, and if necessary, some of the tag files. These can all be overridden with an overlay. The other main place is in the server-config.xml file, which points to the logo URL and the title of server.

To partially override the messages file, you can create a secondary language pack and load it ahead of the base locale. This is configured in the server-config.xml file. You can see how it works with the UMA server:

https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/uma-server-webapp/src/main/webapp/WEB-INF/server-config.xml <https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/uma-server-webapp/src/main/webapp/WEB-INF/server-config.xml>

Then create a namespace file next to the messages.json file:

https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/uma-server-webapp/src/main/webapp/resources/js/locale/en/uma.json <https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/uma-server-webapp/src/main/webapp/resources/js/locale/en/uma.json>

You can both override and extend the messages in these files. 

 — Justin

> On Feb 9, 2016, at 1:37 PM, Luiz Omori <luiz.omori at duke.edu> wrote:
> 
> Hi,
> 
> I’ve searched around MitreID Wiki and Spring docs for information about branding but couldn’t find much info. Are there any guidelines for MitreID rebranding? I’ve seen the messages.json file for localization, obviously can play with the CSS, but is there more?
> 
> And talking about it, the messages.json file also contains things like email addresses (e.g. idp at example.com). Is there a way to replace only particular entries in there? Otherwise we will have to always merge them whenever we import a newer version.
> 
> Regards,
> Luiz
> _______________________________________________
> mitreid-connect mailing list
> mitreid-connect at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mitreid-connect

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20160209/a14a4eae/attachment.html


More information about the mitreid-connect mailing list