Data not passed to server in callback

After login, Keycloak redirects the user back to a URL like:


My Django server doesn’t receive the session_state query parameter, as everything from and after the “#” isn’t sent to the server. I expected it to send:


Is there a Keycloak setting I need to change for this or is there something I’m not understanding?