{{location.id}} in Custom Pages test/prod url capability
Phillip Rousu
I think a lot of us don't even technically need SSO, we just need that location Id for internal use.. but on that topic of SSO, if we do use it, I think we all need to know which subaccount is actively in the browser looking at the app, currently an Array of location ids of the current user in SSO object doesn't tell us which is active? Unless its always the first index?
Log In
L
Luke Jasudavicius
This is required as far as I can see. How else are we supposed to know what location is running the iframe?
S
Stephen Binge
100% this is needed. How else is possible to allow configuration specific to the given Sub Account.
S
Stephen Binge
ive just noticed that in a live app we get activeLocation in the SSO payload, which is enough. although the custom page preview in the should include it too.
P
Philip Schaffer
Also, getting SSO details passed in Custom Menu Links would be massively helpful. Right now Custom Pages for apps are a lot more restrictive, I.E. users of our app can't customize the label/icon/link at all.
Providing those details to Custom Menu Link iframes would allow a lot more flexibility and I'm not seeing the downside from a security perspective since the details are encrypted and need the SSO key to decrypt anyways...
E
Edesa Cabang
Up