Vision Project - Using Idp Authentication

We are wanting to use Badges to track and make certain edits, so we would have to use idp authentication, but we are also looking to do an auto login for lower level edits. We only know of the "switchUser()" that only works with classic auth.

Is there any way to have a "default" account login via idp, or is this only doable with the classic authentication?

Open to other suggestions, if any..

What mechanism are you using for the badge scans? In Vision, if you can configure that as a serial device, you can monitor it in the background, then handle the badge via script (leading to switchUser). You don't need an IdP for this.

Ohh, that may seem promising. Definitely will have to look into this some more. You don't happen to know the resource(s)? We will use a usb badge reader (i.e rfidea reader)

It really depends on the reader. Many USB readers can be configured to be keyboard wedges or virtual serial ports. For Vision, for best results, you want the latter.

You'd have a client background timer event check the serial port for characters a couple times per second, and when received, decipher and trigger whatever custom login function you need. Or simply store the badge info in Vision Client tags where your UI code can "see" it.

If we did do something similar, we would still have to switch user with a valid password from the current user logging in, right?? Since the 'switchUser' function needs a password parameter.

Yes, unless you separate badge activity into a completely separate system (orthogonal to logged-in user).