I setup a new Identity provider with OpenID Connect 1.0
and when I use the Test Login feature it works and I get all the correct information back including this userInfo record
When I sign in on the actual gateway however it does work and it lets me sign in but it shows the “sub” field instead of the “name” field at the top right. Can I change this?
I also attempted to switch the username path field from sub
(default) to name
and when I try to login it silently fails and after typing in my email/password on the redirect screen it just brings me back to the login screen with no errors or anything.
ah, after reading the wrapper.log
I realized I had the Source field wrong it should have been User Info Claims
INFO | jvm 1 | 2025/08/28 12:11:11 | E [g.IdpAdapter ] [12:11:11.873]: Unable to map the IdP attribute source to a user route-group=federate, route-path=/callback/:type, idp-adapter-name=Entra_OpenID
INFO | jvm 1 | 2025/08/28 12:11:11 | com.inductiveautomation.ignition.gateway.auth.mapper.attr.AttributeMapperException: Username is required but it mapped to an empty value
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.mapper.attr.user.UserAttributeMapper$AttributeSourceWrapper.lambda$createExceptionSupplier$0(UserAttributeMapper.java:70)
INFO | jvm 1 | 2025/08/28 12:11:11 | at java.base/java.util.Optional.orElseThrow(Unknown Source)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.mapper.attr.user.UserAttributeMapper$AttributeSourceWrapper.invokeRequiredMapper(UserAttributeMapper.java:76)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.mapper.attr.user.UserAttributeMapper.map(UserAttributeMapper.java:106)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.idp.IdpAdapter.mapUser(IdpAdapter.java:133)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.onLoginResponseInternal(WebAuthSessionImpl.java:256)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.lambda$onLoginResponse$3(WebAuthSessionImpl.java:270)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.mdc(WebAuthSessionImpl.java:109)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.idp.WebAuthSessionImpl.onLoginResponse(WebAuthSessionImpl.java:270)
INFO | jvm 1 | 2025/08/28 12:11:11 | at com.inductiveautomation.ignition.gateway.auth.web.WebAuthRequestCollection