You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Keycloak User
Hello, community, I need to implement custom KC Authenticator that will validate OTP sent via SMS. I have my Authenticator#authenticate method that will trigger SMS and Authenticator#action that will validate it. Everything works fine in browser auth flow, however when I try to formulate login action url
'/realms/{realm}/login-actions/authenticate?code={session-code}&execution={executionId}' by plugging in AuthenticationFlowContext#generateAccessCode and AuthenticationFlowContext#getExecution respectively and use it in direct grant flow I'll get an error indicating that I have to use browser with cookies enabled. Is it somehow possible to achieve this? -- to trigger Authenticator#action in direct grant flow? Thanks in advance. Regards Martin