Post

Replies

Boosts

Views

Activity

Comment on CryptoKit TOTP Generation
I am trying to implement TOTP for 2FA in my app using this code: the code generates OTPs, but when I try to verify them with Google or GitHub 2FA, they are always rejected as "wrong code." I’ve tested this implementation in several ways, but the OTPs do not match the expected values. What Could Be Wrong? Why is the generated OTP not valid for Google or GitHub? Am I missing something in my implementation? Any help would be greatly appreciated!
Topic: Privacy & Security SubTopic: General Tags:
Nov ’24