custom login log question

First off, I do have an enterprise license so I have access to the features. Is there anywhere to save a custom logo for coder login screen in a certain directory(I tried the same directory as the coder binaries but that didn't work ~/.cache/coder/site/bin/ )on the container running coder or use some environment variable. I have only seen the option to use a URL that seems to rendered client side. Is it possible to make the coder container not the client browser resolve that logo? I have issue with limitations and permissions for example creating an azure blob using a url to access the image. I did do that but do to privatelink requirements and some DNS limitations I only see the logo if I am accessing Coder within the same vnet. I would prefer to not stand up a web server just to host the logo.
7 Replies
Codercord
Codercord3mo ago
<#1272290174872719490>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys3mo ago
does the company not have some public site you can grab the logo from? otherwise i don't really see how you can do so without having another web server but spawning a web server just for the logo isn't great
Spiked_Grape
Spiked_Grape3mo ago
I pulled it from sharepoint which needs login etc.
Phorcys
Phorcys3mo ago
try using a data URI? this isn't great but if it works, it works otherwise you'll want to do a feature request -- which I can do for you if you want
Spiked_Grape
Spiked_Grape3mo ago
ok is that field in the UI the only way to add it? a helm chart capable option like the oidc login logo would be great same for the banners for government networks. Can you those be done via helm chart? or api etc. looking to avoid manually changing settings in the ui Thanks I did get this to work but I would like to apply this via helm chart, env variable, or api etc. plus the banners I just mentioned
Phorcys
Phorcys2mo ago
I don't think there is an option to configure via helm/env for both of those I couldn't find any CLI command, will take a look for the API yup, there's an API endpoint for this! it's at /api/v2/appearance, you can specify all appearance settings, so announcement banners, application name, logo, etc @Spiked_Grape closing this one, feel free to reopen though
Codercord
Codercord2mo ago
@Phorcys closed the thread.
Want results from more Discord servers?
Add your server