Infisign OTP Authentication
Securely verifies user identities using mobile numbers, ensuring streamlined access to services with strong authentication protocols.
Base URL - Staging
OTP sending for Login - Securely sends one-time passwords (OTPs) to users' registered devices enhancing login security with a quick and reliable authentication method.
For Mobile
curl -i -X POST \ -u <username>:<password> \ 'https://unifed-dev-api.infisign.net/unifed-auth-service/unifed/{tenant_id}/magic/auth/login/otp/' \ -H 'Content-Type: application/json' \ -d '{ "type": "sms", "countryCode": "<string>", "mobileNumber": "<string>", "redirectid": "<string>", }'
For Email
curl -i -X POST \ -u <username>:<password> \ 'https://unifed-dev-api.infisign.net/unifed-auth-service/unifed/{tenant_id}/magic/auth/login/otp/' \ -H 'Content-Type: application/json' \ -d '{ "type": "email", "redirectid": "<string>", "emailId": "<string>" }'
redirectid Get redirectid from the List Redirects API
OTP sending for Onboarding - Secure onboarding by sending one-time passwords (OTPs) to verify user identities and ensure a smooth registration process, enhancing security and user authentication.
For Mobile
curl -i -X POST \ -u <username>:<password> \ 'https://unifed-dev-api.infisign.net/unifed-auth-service/unifed/{tenant_id}/magic/auth/onboard/otp/' \ -H 'Content-Type: application/json' \ -d '{ "type": "sms", "countryCode": "<string>", "mobileNumber": "<string>", "redirectid": "<string>", "givenName": "<string>", }'
For Email
curl -i -X POST \ -u <username>:<password> \ 'https://unifed-dev-api.infisign.net/unifed-auth-service/unifed/{tenant_id}/magic/auth/onboard/otp/' \ -H 'Content-Type: application/json' \ -d '{ "type": "email", "redirectid": "<string>", "givenName": "<string>", "emailId": "<string>", "secondaryEmailIds": "<email1>,<email2>" }'
redirectid Get redirectid from the List Redirects API
secondaryEmailIds Separate email Id with comma
ex: "example@gmail.com, sample@gmail.com"
Verify OTP - A process where a one-time password (OTP) is entered by the user to authenticate and confirm their identity for accessing secured systems
For Mobile
curl -i -X POST \ -u <username>:<password> \ 'https://unifed-dev-api.infisign.net/unifed-auth-service/unifed/{tenant_id}/magic/auth/verify/otp/' \ -H 'Content-Type: application/json' \ -d '{ "type": "sms", "countryCode": "<string>", "mobileNumber": "<string>", "otp": "<string>", }'
For Email
curl -i -X POST \ -u <username>:<password> \ 'https://unifed-dev-api.infisign.net/unifed-auth-service/unifed/{tenant_id}/magic/auth/verify/otp/' \ -H 'Content-Type: application/json' \ -d '{ "type": "email", "otp": "<string>", "emailId": "<string>" }'