You are viewing a plain text version of this content. The canonical link for it is here.
Posted to custos@airavata.apache.org by "yasithdev (via GitHub)" <gi...@apache.org> on 2026/06/14 23:56:58 UTC

[PR] fix(keycloak): account console 500 — stop forcing 'airavata' as global default theme [airavata]

yasithdev opened a new pull request, #693:
URL: https://github.com/apache/airavata/pull/693

   ## Summary
   The devstack Keycloak ran with `--spi-theme-default=airavata`. The `airavata` theme only ships a **login** variant, so making it the global default also made it the default **account** theme. Keycloak's account console then 500s with a `NullPointerException` (`Failed to find ACCOUNT theme airavata` → `AccountLoader.getAccountResourceProvider` NPE), which broke the Django portal's **User Settings** link (it lands on a Keycloak "internal server error" page).
   
   ## Fix
   Remove the `--spi-theme-default=airavata` flag. The `default` realm already pins `loginTheme: airavata`, so login branding is unchanged; account/admin/email fall back to Keycloak's built-in themes and the account console works.
   
   ## Test plan
   - `https://auth.airavata.host/realms/default/account/` returns **HTTP 200** (was 500) after `tilt` recreated the keycloak container; no account-theme NPE in logs.
   - Browser: the URL now loads the airavata-branded Keycloak sign-in for the `account-console` client and lands on the user profile after auth.
   - Login page still renders the airavata theme.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: custos-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(keycloak): account console 500 — stop forcing 'airavata' as global default theme [airavata]

Posted by "yasithdev (via GitHub)" <gi...@apache.org>.
yasithdev merged PR #693:
URL: https://github.com/apache/airavata/pull/693


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: custos-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org