Giter VIP home page Giter VIP logo

Comments (10)

garronej avatar garronej commented on June 1, 2024 1

Now you can seamlessly define the following environment variables on the Keycloak server, which will be appropriately integrated by the theme:

DSFR_THEME_HOME_URL
DSFR_THEME_SERVICE_TITLE
DSFR_THEME_BRAND_TOP

For more insights and details, consider referring to this specific commit: GitHub commit

Here's an example of defining the environment variables during the deployment of Keycloak with Helm:

image

Isn't Keycloakify impressive?

from sill.

revolunet avatar revolunet commented on June 1, 2024 1

Thanks, nice extraThemeProperties indeed. as a not keycloak expert, maybe among the 12k realm settings theres a property for that 🤔

from sill.

garronej avatar garronej commented on June 1, 2024

Ouuuups.

Désole pour ça!

Qu'es que tu pense d'une variable d'environement a set sur le seveur Keycloak qui introduirais un peut de parametrisation runtime du theme?

Si non il y a aussi le nom du realm qu'on peut lire facilement dans le kcContext

image

from sill.

revolunet avatar revolunet commented on June 1, 2024

Le "display name" ou le "HTML display name" du realm, non ?

from sill.

garronej avatar garronej commented on June 1, 2024

It's deploying!

from sill.

revolunet avatar revolunet commented on June 1, 2024

thanks sir 🙏

from sill.

revolunet avatar revolunet commented on June 1, 2024

Ca marche merci :)... comment changer le appLocationOrigin qui sert à définir le lien ?
J'ai l'impression que c'est un paramètre passé par l'application cliente ?

from sill.

garronej avatar garronej commented on June 1, 2024

Je transmets l'information via l'url, mais il me semble peu pratique que demander aux utilisateurs d'ajouter un paramètre URL.

Ainsi, serait-il préférable d'établir une variable d'environnement au niveau du container Keycloak ? Je suis en train de préparer cette configuration. Fais-moi savoir si cela te convient.

Bien à toi,

from sill.

revolunet avatar revolunet commented on June 1, 2024

I can confirm it works perfectly, thanks !

from sill.

garronej avatar garronej commented on June 1, 2024

maybe among the 12k realm settings theres a property for that 🤔

I'm quite confident that there's no such setting that would be passed over to the FTL context. I've looked everywhere in the kcContext

from sill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.