Badge-based Authentication Support

Vision IdP support is pretty far out on the schedule right now - early 2021.


@Kevin.Herron, can we have an update on the inclussion of badge support for Vision?

Also, any plans to include support for smartcards or an alternative solution for multi-factor authentication? If a system wants to achieve compliance with IEC-62443 at Security Level 4, MFA is a must.


Well it looks like IdP for Vision landed in 8.1.0 but I don’t know about any plans to support smartcards or alternative 2FA. I’ll find someone who might be more familiar with these project areas and get an answer. I suspect beyond what an IdP supports there isn’t much planned, though…


Is the Badge login is applicable in the gateway or in Vision Client also available,

Am able to get the badge Login in Gateway but in Vision I am getting the normal login page only, wats the procedure to be followed for it?? any manual or settings you have please share it will be helpful

Yes. In the case of the Gateway Web Interface, make sure your System IdP setting (Config > Security > General) points to the IdP with badge based authentication enabled. In the case of the Vision Client, make sure the IdP auth strategy is set for the project and make sure the project’s IdP points to the IdP with badge based authentication enabled (Designer > Project Menu > Properties)

still am unable to get badgelogin in Vision launcher

Kindly check my settings also fyr

How to do Gateway WebInterface for Vision CLient kindly guide me for this also.

What version of Ignition are you running?

Your vision client is using the classic authentication strategy based on your first screen shot. You need to change this to the IdP authentication strategy. See: Vision Project Properties - Ignition User Manual 8.1 - Ignition Documentation

Ignition 8.1.3,Its Working, Thanks

Any Idea about this error?

I tried normal login. in the same settings am getting this error

Are there any exceptions in the gateway logs when this error occurs?

My Browser IE is having a Problem so i Changed Chrome as default browser then it was working thanks for your support…

I have had more than one user report this error this week on an IdP using badge authentication… Still have not been able to narrow it down enough to get support involved.


What version of Ignition are you on? Are there any exceptions in the Gateway logs when this error occurs?

Got it replicated… I am running 8.1.2. I can consistently get the error when the users roles is Null.

User Source Type: AD/Database Hybrid
IdP Type: Ignition

This might be slightly related to ticket 15007 where SSO is not working if the role list is Null. Might be that Null roles is causing issues after 8.1

Here is the corresponding error in gateway.FederationRoutes logger

java.lang.NullPointerException: null






at java.base/ Source)


at com.inductiveautomation.ignition.gateway.auth.idp.IdpAdapter.mapUser(

at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.onLoginResponseInternal(

at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.lambda$onLoginResponse$2(

at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.mdc(

at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.onLoginResponse(

at com.inductiveautomation.ignition.gateway.auth.idp.IdpAdapterConfigRoutes$TestLoginWebAuthResponseHandler.handle(

at com.inductiveautomation.ignition.gateway.auth.federation.FederationRoutes.callback(

at com.inductiveautomation.ignition.gateway.auth.federation.FederationRoutes$CrossSiteRouteHandler.handle(

at com.inductiveautomation.ignition.gateway.dataroutes.Route.service(

at com.inductiveautomation.ignition.gateway.dataroutes.RouteGroupImpl.service(

at com.inductiveautomation.ignition.gateway.dataroutes.RouteGroupCollectionServlet.serviceInternal(

at com.inductiveautomation.ignition.gateway.dataroutes.AbstractRouteGroupServlet.service(

at javax.servlet.http.HttpServlet.service(

at org.eclipse.jetty.servlet.ServletHolder$NotAsyncServlet.service(

at org.eclipse.jetty.servlet.ServletHolder.handle(

at org.eclipse.jetty.servlet.ServletHandler.doHandle(

at org.eclipse.jetty.server.handler.ScopedHandler.handle(


at org.eclipse.jetty.server.handler.HandlerWrapper.handle(

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(

at org.eclipse.jetty.server.session.SessionHandler.doHandle(

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(

at org.eclipse.jetty.servlet.ServletHandler.doScope(

at org.eclipse.jetty.server.session.SessionHandler.doScope(

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(

at org.eclipse.jetty.server.handler.ContextHandler.doScope(

at org.eclipse.jetty.server.handler.ScopedHandler.handle(

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(

at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(

at org.eclipse.jetty.server.handler.HandlerList.handle(

at org.eclipse.jetty.server.handler.HandlerCollection.handle(

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(

at org.eclipse.jetty.server.Server.handle(

at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(

at org.eclipse.jetty.server.HttpChannel.dispatch(

at org.eclipse.jetty.server.HttpChannel.handle(

at org.eclipse.jetty.server.HttpConnection.onFillable(








at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(


at org.eclipse.jetty.util.thread.ReservedThreadExecutor$

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(

at org.eclipse.jetty.util.thread.QueuedThreadPool$

at java.base/ Source)

Hi I used a barcode scanner to scan the badge(TB790) in gateway web interface but am unable to login whether any other hardware or any modules reqd to do it…

Yep, based on that stack, your user(s) must have one or more null roles. These roles must be set in your Database - you could adjust your User Roles Query setting on the user source to filter out null values. At the IdP layer, as an extra safeguard, you could set your roles attribute mapper to an expression which calls runScript and have a jython script filter out None values from the collection of roles.

There is is… I thought it was returning no results at first, but it was pulling back NULL, I just swapped the DB query to return something other than NULL. No more 500 error.

1 Like

Take a look at this part of the first post in this thread:

As long as your barcode scanner can satisfy those requirements, you should be good.

I think this may be a feature request, but I’ll start with the question here in case it is already possible. We use Active Directory for authentication, and our badge information is stored as an attribute in AD. Is it possible to use “pure Active Directory” with an AD attribute rather than a query? We already have roles configured from AD, so it would require us to make fairly significant changes to try to move those roles into a separate database that we would query for the badge ID.

Just to be clear, I’m envisioning an extra field in the Advanced section for “Badge Attribute”.

1 Like

No - this is not currently possible, but we do have a ticket (IGN-4409) in our backlog to add a badge attribute and badge search filter (for badge based auth) to the Pure AD user source profile. I’ve linked this post to that thread.