Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 704bd01

Browse files
committed
Add more info in basic checks
1 parent 56a6d6d commit 704bd01

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Resources/doc/troubleshooting.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,17 @@ that are used in `isAccountNonExpired()`, `isAccountNonLocked()`, `isCredentials
9494
After successful login, the two-factor authentication form is not shown. Instead, you're either logged in or you see
9595
a different page from your application.
9696

97-
### Troubleshooting
97+
### Basic checks
9898

99-
Basic checks:
10099
- Your login page belongs to the firewall, which has two-factor authentication configured.
101-
- The paths of login page, login check, 2fa and 2fa check are all located with the firewall's path pattern.
100+
- The paths of login page, login check, 2fa and 2fa check are all located with the firewall's path `pattern`.
102101
- Your user entity has the interfaces implemented, which are necessary for the two-factor authentication method.
103-
- Your user entity fulfills the requirements of at least one two-factor authentication method.
102+
- Your user entity fulfills the requirements of at least one two-factor authentication method:
103+
- The `is*Enabled()` method returns `true`
104+
- Additional data for the authentication method is returned, e.g. for Google Authenticator to work the
105+
`getGoogleAuthenticatorSecret()` method must return a secret code.
106+
107+
### Troubleshooting
104108

105109
1) Is a `TwoFactorToken` present after the login?
106110

0 commit comments

Comments
 (0)