You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.
useArnissolle\MFA\OTP\Auth;
useArnissolle\MFA\OTP\Code;
useArnissolle\MFA\OTP\Secret;
useArnissolle\MFA\OTPasotp;
// Create new secret$secret = Secret::create();
// Get the OTP auth URI$authUri = Auth::uri($secret, '[email protected]', function(Auth$auth) {
$auth->issuer = 'Company Name';
$auth->app = otp\MICROSOFTAPP;
});
// Get the QR Code// Then scan it with app like Google Authenticator$qrCodeUrl = Auth::qrCodeUrl($authUri);
// Get code (or use third party app)$code = Code::get($secret);
// Verify code (bool)$verify = Code::verify($secret, $code);
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to use your library to add on Microsoft MFA app and the issuer shows wrong.
I checked the URI of otpauth protocol and the parameters are different for Microsoft MFA app.
If the class Auth generate the URI in this format, works (without encode $label):
The text was updated successfully, but these errors were encountered: