trustedlogin / trustedlogin-vendor

Plugin to interact with TrustedLogin's encrypted storage infrastructure to redirect support staff into an authenticated session on client installations.
GNU General Public License v3.0
0 stars 1 forks source link

handle accessKey-based redirects when <1 siteIds are returned from SaaS #47

Closed inztinkt closed 3 years ago

inztinkt commented 4 years ago

A single accessKey (or licenseKey) may return more than 1 siteId.

This should be handled in a way that gives support agent a way to pick the right site. (May include decrypting url attribute of envelope to show)

Needs to be implemented for:

zackkatz commented 4 years ago

@inztinkt This needs to be implemented sooner than I thought. I've encountered this in testing.

How long do you think this would take?

inztinkt commented 4 years ago

I can schedule it in now. So to confirm, iff we get more than 1 siteId from an accessKey, then fetch each envelope, and decrypt each of them to get the siteurl values.

Should the links from this still go through the vendor-side redirect, or point straight to the client-side endpoints?

Arguments for the vendor-side redirect:

Arguments against vendor-side redirect:

zackkatz commented 4 years ago

@inztinkt Still vendor-side.

inztinkt commented 4 years ago

Got it. Thought so, just wanted to confirm as you know how slow decryption can be sometimes.