Does anyone know how to control the "iss":  value in the token ? 

Seems there is a problem , in the last version it was the realm name i.e "test" .. but now the full uri http:://server.8080/auth/realms/test and this is causing a problem for me