I config a salesforce OAuth with the Generic auth type. I login with salesforce account successfully at the first time, but failed then.
While I try to login, there will occur an error:
And the server error log is:
o.l.api.framework.exception.GlobalExceptionHandler#lambda$doLog$8:155 POST /api/auth/tp/login [nioEventLoopGroup-3-9]:
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "org.lowcoder.domain.user.model.Connection.getRawId()" is null
at org.lowcoder.api.authentication.service.AuthenticationApiServiceImpl.lambda$getAuthConnection$18(AuthenticationApiServiceImpl.java:240)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoFlatMap] :
reactor.core.publisher.Mono.flatMap
org.lowcoder.api.authentication.service.AuthenticationApiServiceImpl.updateOrCreateUser(AuthenticationApiServiceImpl.java:158)
Error has been observed at the following site(s):
Expected Behavior
Can use the salesforce account to login lowcode successfully.
Steps to reproduce
self-host the lowcoder;
config the user authentication with oAuth
login with the salesforce account, and login in other device or just logout then login again.
Environment
self-host lowcoder 2.4.4
Additional Information
Data in mongodb seems missing the rawId while using the OAuth:
Is there an existing issue for this?
Current Behavior
I config a salesforce OAuth with the Generic auth type. I login with salesforce account successfully at the first time, but failed then.
While I try to login, there will occur an error:
And the server error log is:
Expected Behavior
Can use the salesforce account to login lowcode successfully.
Steps to reproduce
Environment
self-host lowcoder 2.4.4
Additional Information
Data in mongodb seems missing the rawId while using the OAuth: