MatthewC / yourls-2fa-support

MIT License
11 stars 2 forks source link

2FA Input Box Not Showing #3

Open wilcochris opened 1 year ago

wilcochris commented 1 year ago

Tried with FF 109, Chrome 109, Edge 109 on Windows 11

Tried with FF 109, IE 11, Edge 109 on Windows 10

Tried with FF 109, Safari 16 on iOS 16.2

The option to enter the MFA token just doesn't show.

Browser cache cleared, DNS cache in Cloudflare cleared.

Adblockers and pi-hole stopped. Doesn't show the input.

Browser developer tab shows no errors and the box for the token is not even an element listed.

This no longer works.

MatthewC commented 1 year ago

Hi @wilcochris, that's strange. I just tried it on a fresh install with YOURLS v1.9.1 on Firefox 110 for MacOS.

If possible, can I get the version of YOURLS you are using, and if you activate debug mode, are you seeing any weird errors when trying to activate 2FA?

Also, just to make sure, are you clicking 2FA Setup > OTP > Activate?

wilcochris commented 1 year ago

Hi.

Thanks for the response.

One install is 1.7.2 and this is where it shows nothing and debug doesn't show anything either

I have another install on 1.9.1 and that shows the MFA box and then when you enter the code it says Error. Unauthorized action or expired link. If you then go to the admin URL it allows access. If you do it without entering the code and go to the admin URL it won't allow access (which is what I expect).

Nothing showing in debug either

MatthewC commented 1 year ago

Huh, that is quite weird. I'm not quite sure what could be causing that.

I feel like the first issue is simply because of the outdated YOURLS version, since the plugin API has changed since then. As for the second one, I'll have to play around with it more, since I can't re-create it on my side.