In access.json folder we have a list of credentials like vendor code , api key.
What goes in twoFA ? Theres no pin as such to login in First stock app it uses Face ID.
In access.json folder we have a list of credentials like vendor code , api key.
What goes in twoFA ? Theres no pin as such to login in First stock app it uses Face ID.
Hi PB2099,
In the access.json file, the twoFA parameter should store the TOTP (Time-based One-Time Password) value.
You can enable and use TOTP login as follows:
From Web App:
From Mobile App:
Example in Python:
import pyotp
# Replace with your secret key from Firstock app
secret_key = "YOUR_SECRET_KEY"
# Initialize TOTP generator
totp = pyotp.TOTP(secret_key)
# Generate the current OTP
current_otp = totp.now()
print("Your TOTP is:", current_otp)
The value generated here should be used in the twoFA field of access.json.