Creating a Keycloak theme with MUI

  Рет қаралды 3,996

Joseph Garrone

Joseph Garrone

Күн бұрын

Пікірлер: 27
@alinikpey5797
@alinikpey5797 2 ай бұрын
You are great man , you support and navigate people who are using keycloakify, in a really nice way.
@josephgarronegj
@josephgarronegj 2 ай бұрын
Thank you very much! I’m glad you found it understandable!
@andreshaabu6763
@andreshaabu6763 Ай бұрын
Thank you, you've been a great help!
@rainman400
@rainman400 2 ай бұрын
The GOAT for sure. Super simple and easy to use
@josephgarronegj
@josephgarronegj 2 ай бұрын
Thanks man!
@mayoniaise5169
@mayoniaise5169 2 ай бұрын
Merci, super utile !
@josephgarronegj
@josephgarronegj 2 ай бұрын
Merci, avec plaisir!
@rohit87k
@rohit87k 2 ай бұрын
As always with amazing content and appreciate your effort on this you deserve more subs and likes :-) ♥
@josephgarronegj
@josephgarronegj 2 ай бұрын
Thank you very much!
@nima.shokouhfar
@nima.shokouhfar Ай бұрын
Great video...!!!
@rafalef
@rafalef 2 ай бұрын
thanks! will watch soon!
@DanieleKap
@DanieleKap 2 ай бұрын
Thank you very much
@mdumar1525
@mdumar1525 2 ай бұрын
Thats awesome man. Exactly what i was looking for. Great video🎉 Can you make a video on customizing using only css?
@josephgarronegj
@josephgarronegj 2 ай бұрын
I think the best overview would be: kzbin.info/www/bejne/hJzSq2SfeZJ7haMsi=vbtzsudQaljKim3p I also have this one for CSS in JS: kzbin.info/www/bejne/rIOznXqLeZJ-rKc But as always the best way by far is to read through this documentation section: docs.keycloakify.dev/customization-strategies/css-level-customization
@jschmucke
@jschmucke Ай бұрын
nice tutorial, hot to with shadcn/ui and react-icons 😅
@tobiasmika7943
@tobiasmika7943 24 күн бұрын
Hi, please assist. I created my custom theme then build the .jar file and install it on my keycloak server because on docker when i tested it it was working. But on my production server it gives out a "Internal Server Error Error id d5a7e17c-e6f3-43d0-bc3b-cd341366fd49-7". Thank you
@josephgarronegj
@josephgarronegj 24 күн бұрын
@@tobiasmika7943 Please join the Keycloakify discord server and add more context about your issue like the version of keycloak you are running and the log of the error
@rohit87k
@rohit87k 2 ай бұрын
I am just curious to know have you making a tutorial about the split login screen like - 1screen having only email with verifying the email exist on the database and then 2nd screen having the password screen ? - remember i have shared with you on the linkedin message
@josephgarronegj
@josephgarronegj 2 ай бұрын
Thank you for sharing! While I’m not sure about making a full tutorial, a template might be more suitable for this purpose. However, I have a lot of work to do at the framework level before I can dedicate time to creating templates. My main priority is to equip the community with the tools they need to create what they want, rather than focusing on creating the content myself.
@rainman400
@rainman400 2 ай бұрын
Currently implementing something similar and my 2c on this, largely because of this video (and if you are using react + mui): I found doing the initial username page on the react app to be much simpler, since the app itself is already hooked up to the database (therefore, no extra config needed) and then passing the username to keycloak for login as a url param, which autofills the username input box. I havent done it yet but I am pretty confident that replacing the username input box with a text field showing the populated username isnt going to be too hard. The good part here is that, because this page also uses react mui, if there isnt too much customization done to the react components on your app, it is easy to make the 2 pages look kinda identical. As I type this out, i realize this was 2 week ago and you mustve already found a workaround for it so curious as to what you ended up doing!
@josephgarronegj
@josephgarronegj 2 ай бұрын
@@rainman400 Doing the work ahead of the theme and passing the values as query params to be pre-filled is pretty smart. Be carfull though about the possible validation issues. The validation rules are defined on the keycloak server and unless you pull them in your app you might be sending invalid values to be pre filled. There are also things that only keycloak can know and that can't be validated in realtime like "Is there alreader an user with this username?" What I found easyer is to call my API from the theme if I need extra information. For example in this app: code.gouv.fr/sill If you go to "sign in" -> "no account yet" -> "organization" you can see that as you type there is a dynamical autocomplete. Also note that I have made anoter video on the customization of the Register page: kzbin.info/www/bejne/on6yfaWaps6fp6csi=B3E6Y8VQgm5AgM0y There might be interesting information there like for example using attributes groups for implementing multi step registration that can be configured at the Keycloak level and not hard coded into the theme.
@rainman400
@rainman400 2 ай бұрын
@@josephgarronegj Like I said, GOATed. I was not aware that there is already an example for calling an external API, i will surely check it out. I guess it depends on the way registration is done and I should have clarified that. I am doing the registration in my app through our front end and then proceeding to have the backend create a user in keycloak. So the username validation is also done through that endpoint. It is a little bit of duplication of data but also it helps with other things in the app
@josephgarronegj
@josephgarronegj 2 ай бұрын
docs.keycloakify.dev/environment-variables@@rainman400 The code is here if you want to check it out: github.com/codegouvfr/sill/blob/85bc1ef65195299071700aa7f7d7550901d2632a/web/src/keycloak-theme/login/pages/shared/UserProfileFormFields.tsx#L43-L70 It's still using an older Keycloakify version though. If you are consuming an API there are two way to provide the url to the API (assuming you don't want to hardcode it): The first one is to define it as an environement variable: docs.keycloakify.dev/environment-variables And the second one is to pass it as url query parameter when you redirect to your login page: docs.keycloakify.dev/passing-url-parameters-when-redirecting-to-your-theme But be aware if you use this approach that if it's not your app that is sending you the user you won't have the API URL. Also, you should persiste the query url in the session storage or it will be lost navigating from the login to the register page for example.
@Justin_Roy
@Justin_Roy 2 ай бұрын
Which Icon Theme Extension Your Are Using?
@josephgarronegj
@josephgarronegj 2 ай бұрын
In this video we use `@mui/icons-material` mui.com/material-ui/material-icons/
@itsabdeeels
@itsabdeeels Ай бұрын
When i run the build-keycloak-theme command, i get an error when trying to build the .jar file: Build jar failed: { "jarFileBasename": "keycloak-theme-for-kc-22-and-above.jar", "keycloakAccountV1Version": null, "keycloakThemeAdditionalInfoExtensionVersion": "1.1.5" } Error: Command failed: mvn install -Dmaven.repo.local="/Users/me/Library/CloudStorage/OneDrive/Desktop/Project/keycloak-theme/node_modules/.cache/keycloakify/maven/keycloak-theme-for-kc-22-and-above/.m2" does anyone know why ?
@josephgarronegj
@josephgarronegj 15 күн бұрын
Join the discord :)
Deciding if you need to create a Keycloak account theme
9:50
Joseph Garrone
Рет қаралды 753
Customize Keycloak with themes
25:36
Learning Software
Рет қаралды 11 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,9 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 178 МЛН
How to Vim in 2023: Tips and Tricks
15:53
ThePrimeagen
Рет қаралды 429 М.
NSURLProtocol: How I Stole an App For My Wedding
56:25
Bryce Bostwick
Рет қаралды 51 М.
Advanced Keycloak User Mapper Techniques (2024)
12:05
K S Techno World
Рет қаралды 2,7 М.
The Secret Science of Perfect Spacing
9:40
Chainlift
Рет қаралды 449 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 65 М.
Build Reactjs Keycloak Themes with Keycloakify
4:47
The UI Dawg
Рет қаралды 33 М.
I poured all the galaxies in the Universe into a pool
15:34
Epic Spaceman
Рет қаралды 863 М.
Vim As You Editor - Advanced Motions P1
9:44
ThePrimeagen
Рет қаралды 261 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,9 МЛН