Don't require id_token in token refresh responses


According to the OpenID Core specification, the token refersh responses
might not contain the token. Current implementation would raise the
lack of id_token in the respone as an error, if the client originally
requested (and got granted) 'openid' scope.

Fixes: QTBUG-145705
Pick-to: 6.11
Change-Id: Iccd10b325d6bb770d69616d1733778a79e96ab46
Reviewed-by: Andreas Beckermann <beckermann@monument-software.de>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
commit4b48e518ebfc2ebf8ecde66ab2fb999418877f85
parent4d5f3534cc035e4c1a256c6e3a3a043c0d12c8b0
authorJuha Vuolle <juha.vuolle@qt.io>
committerJuha Vuolle <juha.vuolle@qt.io>
commit timeThu, 9 Apr 2026 09:13:11 +0300