Hello, I am having an issue getting TOTP to work i...
# talk-kratos
s
Hello, I am having an issue getting TOTP to work in my application. I have enabled it in the config:
Copy code
selfservice:
  methods:
    totp:
      enabled: true
      config:
        issuer: myapp
And the app is rendering out the QR code. I scan this with Google Authentication and can see the TOTP. When I enter this into the verify code field it returns one of two possible errors, seemingly randomly.
The provided authentication code is invalid, please try again.
Could not find a strategy to update your settings. Did you fill out the form correctly?
Is there any other config I am missing?
j
Could not find a strategy to update your settings. Did you fill out the form correctly?
This is usually an indicator that the form indeed hasn’t been submitted correctly. Can you show us how you are submitting it?
s
my app code is based on the example https://github.com/ory/kratos-selfservice-ui-react-nextjs/blob/master/pages/settings.tsx This repo exhibits the same behaviour which made me think it was a configuration issue with my kratos instance.
I think this may have partially been down to clock skew. I am running windows with docker desktop. After restarting docker desktop and wsl I was able to link the TOTP authenticator.