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: