Comments (3)
Hi,
The log looks fine so the problem may caused by the server response. If you know how to check network requests in the browser's devtool please let me know server's response on your authentication request so I can try to figure out what happened
from wp-webauthn.
Sorry for the delay.
i guess that the request to admin-ajax.php should return json data.
Sometimes it does:
{ "challenge": "yZfI-JE4pPo7.......", "rpId": ".......", "userVerification": "required", "allowCredentials": [ { "type": "public-key", "id": "4u8J-..........." } ], "timeout": 60000, "clientID": "170811432........." }
but sometimes it doesnt, and it responds the HTML code of the login page itself. (below is just a snippet)
`
Powered by WordPress
<p>Please enter the two-factor authentication (2FA) verification code below to login. Depending on your 2FA setup, you can get the code from the 2FA app or it was sent to you by email.</p><p><strong>Note: if you are supposed to receive an email but did not receive any, please click the Resend Code button to request another code.</strong></p> <p>
</br>
<label for="authcode">Authentication Code:</label>
<input type="tel" name="authcode" id="authcode" class="input" value="" size="20" pattern="[0-9]*" autocomplete="off" />
<script>
const authcode = document.getElementById('authcode');
authcode.addEventListener('input', function() {
this.value = this.value.trim();
});
</script>
</p>`
There is no json data at the beginning or end of the html code. Is there anything i can test to pin down the issue ?
Thanks,
Remco
from wp-webauthn.
looks like some other 2FA plugin is trying to take over the login page before you actually login. Could you please let me know what 2FA plugin you are using? I can then investigate if there's any compatibility issues
from wp-webauthn.
Related Issues (20)
- Yubikey 绑定失败 HOT 2
- Initial sign in fails HOT 1
- 2FA instead of Single FA HOT 2
- Incompatibility with Two Factor Feature Plugin HOT 3
- New passkey feature HOT 2
- Please add Magic Link support as a fallback HOT 5
- WP-WebAuthn breaks the Reset Password page HOT 5
- The extension "Sodium" is not available. Please install it to use this method. HOT 1
- Disable the need for gmp extension HOT 5
- Login fail HOT 1
- Auth failed (if not using an incognito browser session) HOT 6
- WP Network Support HOT 7
- Login shortcode and gutenberg block not working HOT 6
- Vivaldi browser and Bitwarden HOT 2
- Problems with login HOT 4
- Disable Username Field HOT 1
- Preferred login method
- Login Fails but Authenticator Verification Works HOT 3
- Unable to Log In HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-webauthn.