8000 Trace Message on script's context.failure · keycloak keycloak · Discussion #16012 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Hello,
Have you tried providing a form at failure and/or other AuthenticationFlowError Codes? I am using the code below and did not get a stack trace.

var form = context.form()
 .setAttribute("client", client)
 .setStatus(Status.FORBIDDEN)
 .createForm("error.ftl");
context.failure(AuthenticationFlowError.INVALID_CREDENTIALS, form);
return;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vozerov
Comment options

Answer selected by vozerov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0