forcedotcom / EMP-Connector

A simplified cometd connector for Enterprise Messaging Platform
BSD 3-Clause "New" or "Revised" License
185 stars 243 forks source link

Security Token issue #48

Open barryhughes1 opened 5 years ago

barryhughes1 commented 5 years ago

Over the last 2 weeks, if I tried to use the EMP Connector, it continually failed to log in to my developer org. it seems that when a security token is added to the password in the DevLoginExample java call, the process instantly voids the security token.

My only solution is to add IP Ranges to my profile so the EMP Connector does no require a security token to log in. This is fine for demos - but obviously not acceptable for Production orgs.

eehjunggnujhee commented 3 years ago

I have also encountered an issue SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" which perhaps is caused by my use of a security token. The issue disappeared with the use of the Login IP Address and am able to subscribe to an event.