Increase default generated state parameter size from 8 to 32


State is used to prove that an authorization response belongs to this
client, and is as such a sensitive secret. Increase it's default size
from 8 characters to 32 characters (192 bits of entropy due to base64)

[ChangeLog][QAbstractOAuth2] Default generated state parameter size
is increased from 8 to 32 characters.

Task-number: QTBUG-147300
Pick-to: 6.12 6.11 6.8
Change-Id: I447055f05c69d80d2a6494ad5d9da912b239e6c0
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit31ec6151df1e798c25fe87fab9f1ae043aa80055
parent337e16239f2c3f0359236778243c91a4f2ae2365
authorJuha Vuolle <juha.vuolle@qt.io>
committerJuha Vuolle <juha.vuolle@qt.io>
commit timeThu, 18 Jun 2026 10:03:17 +0000