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

[Q] Autofill and App signature - When using my own backend server #170

Open
burekas7 opened this issue Mar 2, 2024 · 1 comment
Open
Assignees

Comments

@burekas7
Copy link

burekas7 commented Mar 2, 2024

Hi,

I need some clarification about using the AutoFill process and the app signature.

When I use the "smsRetrieverApi" method.

  1. Who is actually responsible for sending the SMS message? My backend server, right?
  2. If my server generates the content of the SMS message, how does it know what the app signature is? (hash)
    How do I get this value and transfer to the server?
    Does Pinput has a method to get it like getAppSignature?
    Or should I use SmartAuth for that?
    Do I have a way to get the SmartAuth instance?
  3. Who is actually responsible for verifying the received pin code? My backend server, right?
  4. Does the app listen to SMS messages forever or only on the screen where the pinput is? Do I have control over it?
  5. Just to make sure I understand it correctly, for iOS it will also fill the code automatically like in Android, or it will only show the code in the keyboard so it will fill it by pressing on it manually?

Thanks.

@matias-casco
Copy link

Hi @burekas7

  1. I generate the SMS from my server and I used SmartAuth to get the App Signature, it worked well on debug mode so far. I did not find any getAppSignature method on pinput package, I just found it on smart_auth package that is a dependecy of pinput package.

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