Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing OTP code using password is not working #49

Open
emaddaou opened this issue Jul 7, 2024 · 2 comments
Open

Sharing OTP code using password is not working #49

emaddaou opened this issue Jul 7, 2024 · 2 comments

Comments

@emaddaou
Copy link

emaddaou commented Jul 7, 2024

Thank you again for the great Plugin;

I wanted to share an OTP with family member, when asked to set a password I did and shared the password with my family member, however, when they use it to unlock the OTP code, it keeps saying that the password is not valid or it's not unlocking the OTP code, no matter how many times and what type of password I choose, still my family member can't unlock the OTP code;

Is it possible to make the password an optional choice here? We really don't need password to lock and unlock the code since my family member already using their password to unlock the OTP vault;

I look forward for your response at your earliest convenience;

@matteo-convertino
Copy link
Owner

I'm sorry if I answer only now. The sharing password is required to allow the functionality to work.
It doesn't seem to have ever happened as a problem, do you see any errors in the nextcloud logs?

"or it's not unlocking the OTP code?"

What do you mean by this? There should only be one error, namely that the password is wrong.

Just to be sure, as silly as it may seem, the process should go something like this:

  • when sharing enter any password, even "aa"
  • the other user will have to enter "aa" to unlock the account
  • if you don't remember the password used to share, you can simply cancel the sharing and do it again with a new password

@hdwverden
Copy link

I'm running in the same issue. It gets stuck trying to unlock the shared OTP.

The log shows the following error:
OCA\OtpManager\Controller\SharedAccountApiController::unlock(): Argument #1 ($accountId) must be of type int, null given, called in [cloud URL]/lib/private/AppFramework/Http/Dispatcher.php on line 232 in file '[cloud URL]/apps/otpmanager/lib/Controller/SharedAccountApiController.php' line 42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants