# Perspective IDP settings not easily portable because index based

**URL:** <https://forum.inductiveautomation.com/t/perspective-idp-settings-not-easily-portable-because-index-based/67633>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 14, 2022, 8:05pm UTC](https://forum.inductiveautomation.com/t/perspective-idp-settings-not-easily-portable-because-index-based/67633 "2022-12-14T20:05:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [December 14, 2022, 8:05pm UTC](https://forum.inductiveautomation.com/t/perspective-idp-settings-not-easily-portable-because-index-based/67633/1 "2022-12-14T20:05:59Z")

</div>

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`:

```auto
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... ☹

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 14, 2022, 8:14pm UTC](https://forum.inductiveautomation.com/t/perspective-idp-settings-not-easily-portable-because-index-based/67633/2 "2022-12-14T20:14:49Z")

</div>

The identity provider setting under Perspective is deprecated (specifically _because_ it's index based). You should be using Project \> General \> Security Settings \> Identity Provider instead.

---

<div class="post-metadata">

**Author:** ![justin.brzozoski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justin.brzozoski/32/13452_2.png) [@justin.brzozoski](https://forum.inductiveautomation.com/u/justin.brzozoski)\
**Post date:** [December 14, 2022, 8:43pm UTC](https://forum.inductiveautomation.com/t/perspective-idp-settings-not-easily-portable-because-index-based/67633/3 "2022-12-14T20:43:50Z")

</div>

I'd always wondered on the distinction between the IdP settting on the "project/general" tab and the one on the "perspective/general" tab. Is this documented clearly somewhere? I've not seen any comments that the perspective one should be deprecated.

EDIT: AAAAH! The Project Properties -\> Perspective -\> General -\> Identity Provider setting is gone from the UI! I'm assuming that was automatic when I adjusted the other setting?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 14, 2022, 9:23pm UTC](https://forum.inductiveautomation.com/t/perspective-idp-settings-not-easily-portable-because-index-based/67633/4 "2022-12-14T21:23:48Z")

</div>

> [@justin.brzozoski](#):
>
> EDIT: AAAAH! The Project Properties -\> Perspective -\> General -\> Identity Provider setting is gone from the UI! I'm assuming that was automatic when I adjusted the other setting?

🪄

I don't remember offhand the logic, but yeah, that's the gist of it. You were continuing to use the old setting, so we kept it around, but once you 'opt-in' to the new setting, we prefer that one.
