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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to