georchestra / georchestra-gateway

GNU General Public License v3.0
0 stars 6 forks source link

Fix exception thrown issue when no rabbitmq up #61

Closed marwanehcine closed 12 months ago

marwanehcine commented 12 months ago

Allow gateway to start even if no rabbit mq is up

marwanehcine commented 12 months ago

I don't get the link between your comment and the actual modification in the code: you modified the protected @Override Optional<GeorchestraUser> map(OAuth2AuthenticationToken token) method, which should be called - if I get it correctly - when a oauth2 authentication token is mapped to a GeorchestraUser so probably after a user has been successfully authenticated onto a remote identity provider ; how a modification into this method should change something at application bootstrap ?

I think you are correct @pmauduit , I think issue is due to "enableRabbitmqEvents: true" which should be false when no rabbitmq is set up.