freeotp / freeotp-android

Apache License 2.0
1.37k stars 290 forks source link

Unknown Issuer #387

Open Gaitonde007 opened 5 months ago

Gaitonde007 commented 5 months ago

I'm using OPNsense as VPN provider with MFA enabled. So when i scan the QR using FreeOTP it shows the issuer field as "Unknown"

image Please find the details here:

https://github.com/opnsense/core/issues/7126

Thanks.

joggee-fr commented 5 months ago

What is encoded in the QR code you have scanned for OPNsense? Share it hiding your id and secret please.

Gaitonde007 commented 4 months ago

[root@server1 fcoos]# zbarimg QR1.png QR-Code:otpauth://totp/User1@Mail_VPN?secret=FMXCG6AGUFM7CNFE72P6ZOPNYY3QQX6B scanned 1 barcode symbols from 1 images in 0 seconds

Since this a test env I'm sharing entire content.

joggee-fr commented 4 months ago

According to this page, in your case:

  1. the URI path does not contain issuer in the form issuer:account name ;
  2. the URI parameters does not contain an issuer neither.

I don't know if there is another way to retrieve the issuer in the TOTP QR code.

joggee-fr commented 3 months ago

@Gaitonde007, is this issue still relevant?