Open fhennig opened 20 hours ago
In 5e0c509 I'm applying the fix from @theosanderson from this PR: https://github.com/loculus-project/loculus/pull/3271
Weird that this just happens 'out-of-the-box' with the starter. Thanks again to @theosanderson for finding this!
It's working in the preview! 🥳
After I found the root cause of the CI failure (wrong casing of kcContext that didn't show on macOS due to file system casing insensitivity) I wanted to report the issue to keycloakify but it turns out that the casing isn't in the starter: https://github.com/keycloakify/keycloakify-starter/blob/main/src/login/KcContext.ts
@fhennig how did you create the starter? Did you maybe not copy it over manually somehow rather than a complete removal over folder and replacement with current starter?
As a result, the fix is easier than Theo's which just happened to fix casing as well but the types extension was unnecessary.
What I did before was clone into keycloakify-starter
, mv keycloakify keycloakify9
and mv keycloakify-starter keycloakify
. I have no idea why the file was lowercase :O Well spotted! I thought I actually checked that as well, oh well.
I pushed the change now! It's actually good, because there is kc.gen.tsx
which gets regenerated if the theme name changes and it contains a reference to KcContext
, so it's nice that the file will be generated with the correct name.
Wow I feel stupid now 🤦 😅
The file was named wrongly on main by me in the old version – now that it occurs to me I think I have dim memories of that. Some original eslint thing was giving me warnings and I briefly tried to fix them and then gave up or something
You weren't stupid at all @fhennig - you actually did everything right and macOS (and git) played a trick on us! This is just something we need to remember can happen 🤷
I've now added the keycloak update to 26, might as well test it with that.
It's super confusing that version 26 is more like version 21 than 22-25 here: https://github.com/keycloakify/keycloakify/issues/731
resolves #3264
preview URL: http://keycloakify-upgrade-try-a.loculus.org
Summary
Screenshot
TODO:
Register.tsx
: Add the little checkbox at the bottom: "do you agree to the ToS and privacy policy?" There seems to be already support for a checkbox like that ...PR Checklist