georchestra / georchestra-gateway

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

preauth - making sure the authenticated flag on the token is set to true #87

Closed pmauduit closed 8 months ago

pmauduit commented 8 months ago

Calling the constructor for PreAuthenticatedAuthenticationToken with 3 args, which sets the authenticated flag to true. This fixes issues with targets requiring that the user logged in but with no specific roles.

Without the modification,we can end up in the following situation:

image

tests: adding an IT, make test OK