Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
abef9ffabf | ||
|
|
db696eb4f1 |
@@ -18,7 +18,7 @@ describe("workbench camera padding", () => {
|
|||||||
{
|
{
|
||||||
agentOpen: false,
|
agentOpen: false,
|
||||||
conditionOpen: false,
|
conditionOpen: false,
|
||||||
expected: { top: 72, right: 72, bottom: 32, left: 96 }
|
expected: { top: 72, right: 72, bottom: 32, left: 24 }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
agentOpen: true,
|
agentOpen: true,
|
||||||
@@ -28,7 +28,7 @@ describe("workbench camera padding", () => {
|
|||||||
{
|
{
|
||||||
agentOpen: false,
|
agentOpen: false,
|
||||||
conditionOpen: true,
|
conditionOpen: true,
|
||||||
expected: { top: 72, right: 504, bottom: 32, left: 96 }
|
expected: { top: 72, right: 504, bottom: 32, left: 24 }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
agentOpen: true,
|
agentOpen: true,
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ describe("Keycloak authentication", () => {
|
|||||||
expect(client.init).toHaveBeenCalledWith({
|
expect(client.init).toHaveBeenCalledWith({
|
||||||
onLoad: "login-required",
|
onLoad: "login-required",
|
||||||
flow: "standard",
|
flow: "standard",
|
||||||
pkceMethod: "S256"
|
pkceMethod: "S256",
|
||||||
|
checkLoginIframe: false
|
||||||
});
|
});
|
||||||
expect(authentication.user).toEqual({
|
expect(authentication.user).toEqual({
|
||||||
name: "张调度",
|
name: "张调度",
|
||||||
|
|||||||
@@ -59,7 +59,8 @@ export async function initializeAuthentication(
|
|||||||
const authenticated = await keycloak.init({
|
const authenticated = await keycloak.init({
|
||||||
onLoad: "login-required",
|
onLoad: "login-required",
|
||||||
flow: "standard",
|
flow: "standard",
|
||||||
pkceMethod: "S256"
|
pkceMethod: "S256",
|
||||||
|
checkLoginIframe: false
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!authenticated) {
|
if (!authenticated) {
|
||||||
|
|||||||
Reference in New Issue
Block a user