我们正在使用Keycloak 2.3.0.Final,我们正在使用可用的Javascript适配器/auth/js/keycloak.js.使用此适配器的应用程序是React + Redux应用程序,但这无关紧要.
当我们完成文档中描述的身份验证过程时,初始身份验证是成功的,但是当login-status-iframe.html尝试刷新令牌时,我们得到403 Forbidden.它用于刷新令牌的确切URL /auth/realms/<customer-realm>/protocol/openid-c…id=web-portal&origin=http%3A%2F%2Flocalhost%3A8080&session_state=undefined.这会导致重新定位,一次又一次.
我假设这打破了因为session_stateparam很undefined遗憾但是我找不到关于这个主题的任何文档.
我该如何解决这个问题?
我需要为项目制作大量的JSON文件.此JSON来自Google Spreadsheets.使用数据驱动器我得到如下所示的JSON:
{
"custom_id": 1,
"another_thing": "pizza",
"step_1_message": "msg",
"step_1_hint": "hint",
"step_1_intent": "intent",
"step_2_message": "msg",
"step_2_hint": "hint",
"step_2_intent": "intent"
}
Run Code Online (Sandbox Code Playgroud)
现在我希望所有步骤都来自一个对象.像这样:
{
"custom_id": 1,
"another_thing": "pizza",
"steps": [
{"step_id": 1, "message": "msg", hint: "hint", "intent": "intent"},
{"step_id": 2, "message": "msg", hint: "hint", "intent": "intent"}
]
}
Run Code Online (Sandbox Code Playgroud)