Additional Data in UsernamePasswordAuthrticationrequest #38617
-
Hi, I am using form based authentication with quarkus. Beside the username and password id like to pass an additional language for the login. The value ist sent alongside the username and password data already. But I can't find a way to access the information inside the identity provider. I only have the username password authentication request object which does not seem to contain that information. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@ckosmowski Hi, try passing this request object to |
Beta Was this translation helpful? Give feedback.
@ckosmowski it's not clear to me what is your use case, but so far it seems to me like you try to access the
RoutingContext
in an augmentor and it is not there, correct? Please try the Quarkus 3.7.1 and try https://quarkus.io/guides/security-customization#security-identity-customizationRoutingContext routingContext = HttpSecurityUtils.getRoutingContextAttribute(attributes);
(last example) because then you can doMultiMap res = routingContext.request().formAttributes();