Enable LinkedIn two factor authentication (2FA) with FreeOTP authenticator app

LinkedIn allows a user to enable two factor authentication (2FA) with an authenticator app. However, it displays a secret key and does not display a QR code for scanning by the FreeOTP app.

To correctly use the FreeOTP app, an entry for LinkedIn has to be added manually in FreeOTP as follows:
– Enter the user ID used to login to LinkedIn
– Enter the app name as LinkedIn
– Enter the secret key generated by LinkedIn into the Secret field of FreeOTP
– Select the Type as TOTP
– Leave Digits as 6
– Choose SHA1 as the algorithm. Default is SHA256, but LinkedIn has this as SHA1.
– Interval leave as 30.

Click on Add Token and it should work.

Note that default settings of FreeOTP will not work for LinkedIn.

Thanks to this post https://admin.brennt.net/howto-use-freeotp-for-two-factor-authentication-2fa-on-linkedin that it could be done.

Leave a comment