Wireguard + hotspot

Hi everyone, I'm configuring WireGuard to use a hotspot with 2FA, but I'm running into a problem. I followed these instructions:

I configured the hotspot like this.

/ip hotspot profile
add dns-name=mydomain.net hotspot-address=192.168.200.1 login-by=
cookie,http-chap,https name=hsprof1 ssl-certificate=SERVIDOR_DAK
/ip hotspot
add addresses-per-mac=unlimited disabled=no interface=WgDakHotSpot name=
hotspot1 profile=hsprof1
/ip hotspot user
add name=Dakota

and added the user dakota with OTP secret

I've connected my mobile to WireGuard, but now I don't know what it's doing. It's not prompting me to log in or anything. This WireGuard connection only grants access to my network; that is, it has an "allow" range like 192.168.xxx.0/24, which is what I want it to access. How do I configure it so that when WireGuard connects, it prompts me to log in to the captive portal?

What firmware you running?

7.22.1, the latest version

Sadly, dont see any examples out in the wild, that have explored the combination yet.
Trying search the forum and youtube for simply 2FA examples, and hotspot examples and then marry the two together via the MT documentation ( and perhaps the MT ai bot ).

I think I suspect what's happening...
In my case, I don't use a pool to connect via WireGuard; I usually assign myself a static IP address on the peer. I don't see WireGuard accepting IPs via DHCP; it forces me to create an IP address on the interface, and this is where the problem lies, I understand. The system isn't sending me to the hotspot and doesn't know how to notify the connected device that there's a portal. I try to open the browser, and it says it can't find anything... So, the hotspot isn't working in WireGuard!

I think I've found the problem; is it a bug?
I created WireGuard from scratch, and I created a specific one for testing. This WireGuard has the IP address 192.168.200.1/24. I created a peer without assigning it an IP address, but in the configuration, it assigns me an IP address that seems random: 192.168.177.2/32.

I created a hotspot using Hotspot Setup with the following interface:
/ip hotspot profile
add dns-name=rb4011.lan hotspot-address=192.168.200.1 name=hsprof1
/ip hotspot
add address-pool=hs-pool-21 disabled=no interface=WgDakHotSpot name=hotspot1 profile=hsprof1
/ip hotspot user
add name=admin
add name=Dakota server=hotspot1

When I connect, DHCP is supposed to assign me an IP address and launch the captive portal... but it doesn't assign an IP address or launch the portal!

I don't understand how to fix this. The documentation doesn't say anything about it; it just says to create WireGuard, create a hotspot, and that's it! But it's not like that.

It's incomplete and it doesn't work. They added the functionality, but it doesn't work.

Has anyone managed to get hotspot working with WireGuard?
I still can't get hotspot working with my WireGuard. I've tried it on a test Mikrotik router with no success. WireGuard works when I connect and it doesn't require a portal.

Since there is little to be found back here, it seems it hasn't been used a lot yet ?

Maybe best to create a ticket to support with your config and supout.rif so they can check what could be wrong (config or documentation).