Exploring Alternative OTP Service Providers: Configuring for MSG91 #1826
-
Hey, I have a query regarding the usage of an OTP service other than the one mentioned in the configuration file at https://services.mgov.gov.in/. If we want to use a different OTP service, such as MSG91, where should I make the necessary changes or updates? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
All SMS in DIGIT are sent by egov-notification-sms service. It is basically a kafka consumer which consumes messages from the notification topic and then calls the third part API provider to send the SMS. OTP is sent to user by calling the _send API of user-otp service. The user-otp service will generate the otp and the text message and publish it on notification topic. egov-notification-sms service will consume that message and call the third party API to send the otp. If you want to use different SMS provider, please do the integration in egov-notification-sms |
Beta Was this translation helpful? Give feedback.
-
Also Adding one more query: We are currently working on adding our custom module to egov-workflow-v2. However, when attempting to deploy our custom image, we encounter an error stating that we don't have access to pull the image with the name: egov-workflow-v2-db. |
Beta Was this translation helpful? Give feedback.
-
Also Adding one more query: We integrated custom code in the user-otp service to send OTPs using MSG91. But, we're facing a "BadRequest" also "No username and password found" error while trying to send OTPs. We have made some database updates to the phone numbers and added new entries. |
Beta Was this translation helpful? Give feedback.
All SMS in DIGIT are sent by egov-notification-sms service. It is basically a kafka consumer which consumes messages from the notification topic and then calls the third part API provider to send the SMS. OTP is sent to user by calling the _send API of user-otp service. The user-otp service will generate the otp and the text message and publish it on notification topic. egov-notification-sms service will consume that message and call the third party API to send the otp. If you want to use different SMS provider, please do the integration in egov-notification-sms