The state of spring-social is automatically generated and saved in session. If I want to generate and save it in redis, how to do it?

https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=your_client_id&response_type=code&redirect_uri=your_redirect_uri&state=your_state

so I want to generate the above your_state myself, how to do it?

Jul.14,2021
Menu