上下文:使用openid connect与WSO2 IS 5.1.0

我们已为我们的产品实施了自定义身份验证终结点 . 所以典型的流程是:

GET to https://localhost:9443/oauth2/authorize返回302到https://authenticationEndpoint.local/login,它返回一个包含User,password并记住我的页面复选框 . 对于此 endpoints ,状态参数填充了在调用回调时我们希望在查询参数中返回的值 . (state参数包含应用程序中rememberMe复选框的状态)

正确的值将发布到https://localhost:9443/commonauth,其中,如果我们要检查remember me选项,则必须有chkrememberMe = "on"的参数 . 到目前为止,使用正确的到期日期创建了cookie commonAuthId .

现在当https://application.local/Account/ExternalLoginCallback被调用时,状态正是我们之前设置它的方式,如果我只在authenticationEndpoint页面中单击了rememberMe复选框,这是一个问题,因为现在rememberMe将为false并且之前已设置 .

问题:如何修改authenticationEndpoint应用程序中的state参数?或者从应用程序中的回调中获取mem Me值? (无法在oauth2 api中找到任何可以执行此操作的 endpoints )

谢谢!