Extending Basic Theme -> Links for Multiple 2FA + Delete Account

Hello, I’m extending the Basic KeyCloak Theme, and im struggling with some urls…
For Example: In the KeyCloakV2 Theme there is a button with “Delete Account” and a “Set up Authenticator Application” in the " Two-Factor Authentication" Section, when I click on these Buttons I get redirected to the Auth Page with some parameters… (so a required action gets added)


But now is my question, how I generate / get these parameters in the Basic Theme?

And I also need the Link for generating the WebAuthn “Required Action”

I still need help :thinking: :frowning:

Did you find any solution regarding your question ? I’m searching the good path too.

Thank you,

No, I still have the problem…

I don’t know if I respond to your trouble however I found the (my) solution for my use case.

I developed an SPI which is called by the fronts teams which creates a redirection to the account resource with a cookie link to the deletion of the account.

This link points to an another SPI of mine which deletes the user and redirects to the page I want with a URL query parameter.