Cookie consent banner

As you all know, Keycloak sets a lot of cookies required for it to work (and writes to the local/session storage). Good, it can also be used as a B2C solution to provides login forms for users directly coming from the internet. And here comes the issue: many countries require to announce those cookie operations (even if necessary) to the user with some kind of banner or popup.

But Keycloak does not provide such thing as a cookie consent logic (for example What is a cookie banner? - Cookie Information just to mention one). Additionally, all full fledged solution host are hosted remotely (scripts).

My question: how have your implemented such a cookie consent banner (Germany, Switzerland)? As a purely local solution?

Kind regards,
Sebastian

You are always free to implement your custom consent logic to your custom theme resources. This way, you are completely independent of hosting companies and you can implement the logic you want (or how you understand and interpret your local laws).

Is a cookie consent on user registration enough for your needs? I have a tutorial on how to require privacy / cookie consent on user registration here (no coding required). I can not guarantee that this will cover you legally of course. It is just an idea.