8000 SPI to append data to username on authentication · keycloak keycloak · Discussion #39217 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

I've got the solution to this from Martin Bartos (Thank you again) at Keycloak chanel on Slack, so I reproduce it here for people with a similar use-case:

The issue in this case is that the current impl of context.getHttpRequest().getDecodedFormParameters() always returns a new instance of MultivaluedMap on every call with form params obtained from RESTEasy context. It means that even though you update these items in the multivaluedMap, the map is recreated in the UsernamePasswordForm#action() as there's another call of context.getHttpRequest().getDecodedFormParameters().

It means you would not be able to call super.action(context), but probably mimic the behavior of the UsernamePasswor…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carlosrodovalho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
0