所以基本上,我想要的是以下请求:
http://127.0.0.1:9000/oauth2/authorize?response_type=code&client_id=test-client&redirect_uri=http://127.0.0.1:8080/authorized&scope=message.read&state=someState?color=red
例如被重定向到
http://127.0.0.1:9000/login?color=red
,这样我就可以访问用于呈现登录页面的颜色参数。颜色参数不一定要在 URL 中,它应该在 Thymeleaf 中可以访问。
这可能吗?