Just bumped into this while trying to clone a long running project into a newly setup system. The Perspective project kept giving me an error on login screen that no IDP was configured. I went into Designer and checked Project Properties -> Perspective -> General -> Identity Provider and it was set to "None". I adjusted that back to the desired IDP and hit save and notice this git diff
:
diff --git a/customer/com.inductiveautomation.perspective/general-properties/data.bin b/customer/com.inductiveautomation.perspective/general-properties/data.bin
index 6c9bdbf3..cb16f94d 100644
--- a/customer/com.inductiveautomation.perspective/general-properties/data.bin
+++ b/customer/com.inductiveautomation.perspective/general-properties/data.bin
@@ -3,10 +3,13 @@
"updateMessage": "This project has been changed. Please save your work, this session will automatically update in {timeLeft} seconds.",
"updateTimeout": 30,
"locale": "Browser",
- "idp": "8",
+ "idp": "2",
"timezone": "Client Timezone",
"desktopPageTimeoutSeconds": 60,
"mobilePageTimeoutSeconds": 600,
I'm guessing this file is still on the "make it more git friendly" to-do list, but OUCH! This means I can only safely move projects between servers that had their IdP setup in the same order and assigned the same indices!
Before I go and starting hacking around in the SQLite config DB to reassign IDP indices, is there a recommended fix for this or way to avoid this issue?
And IMHO this config file should REALLY be storing IDP by name and not number...