Samagra-Development / user-service

Additional Services related to user management in eSamwad
MIT License
5 stars 22 forks source link

[BE] Verify user's presence in Fusion Auth before sending OTP #60

Closed choxx closed 1 year ago

choxx commented 1 year ago

Description

Verify if user exists in Fusion Auth for the given application before sending OTP. If not exists, respond with customized/default error message pass in query param.

Related to: https://github.com/Mission-Prerna/prerna-lakshya-app/issues/103#issuecomment-1427767399

Changes

Addition of validation in the /api/sendOTP?phone=XXXX API

choxx commented 1 year ago

https://github.com/Samagra-Development/user-service/pull/61