<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>OTP BASED</title><link>https://community.appian.com/discussions/f/user-interface/29144/otp-based</link><description>Hi, 
 How can i configure this can anyone suggest ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/136509?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2024 16:10:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f8ae9fe-8a07-4a49-ba2c-5419f6f59a25</guid><dc:creator>srividyak8611</dc:creator><description>&lt;p&gt;For email, you generate a random 4-digit code using random function and dont forgot to convert random to int and then to text, and you can use&amp;nbsp;script task smart service to pass this value in expression and then use Send Email smart service.&lt;/p&gt;
&lt;p&gt;iexample: text(int(rand(1) * 10000),&amp;quot;0000&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/115193?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 12:01:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef0d8eba-56a3-4525-849a-9662359caa32</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can generate the code using rand() function.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/115190?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 11:25:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52152b3f-aee9-4806-bc2c-c98ba596bb55</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yes. Did you check the rand() function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/115187?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 10:36:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa0c1e55-0de5-4d39-a602-a0de0cdd061e</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Why 4 digits?&lt;/p&gt;
&lt;p&gt;Here is the RFC for generating proper OTPs and validating them.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://datatracker.ietf.org/doc/html/rfc6238"&gt;datatracker.ietf.org/.../rfc6238&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/115186?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 10:05:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:437e2fe1-dfc6-47c9-9b92-d5da4537499c</guid><dc:creator>Sudhir Singh</dc:creator><description>&lt;p&gt;Hi Harshit ,&lt;/p&gt;
&lt;p&gt;i have to configure this&amp;nbsp; of &lt;span&gt;method of authenticating? so if i click on link randon 4 digit OTP will generate.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and how can i&amp;nbsp;&amp;nbsp;generate a random 4-digit code via email and how to show in interface.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/115185?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 10:00:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ed87939-4a9f-4ff8-beba-bc4d87e24d32</guid><dc:creator>Sudhir Singh</dc:creator><description>&lt;p&gt;Hi Stefan ,&lt;/p&gt;
&lt;p&gt;I have to make a functionality&amp;nbsp; like if user click on send button then he will receive an random OTP, as similar when we register on any portal they verified via OTP which we receive on mobile number.&lt;/p&gt;
&lt;p&gt;i just want to know can i generate&amp;nbsp; random&amp;nbsp; 4 digit number after every click .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/115181?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 07:40:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:347a9b98-f387-40ba-8739-965c1982945e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yeah ... well, do you mind adding a bit more detail? What do you want to achieve?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTP BASED</title><link>https://community.appian.com/thread/115171?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2023 06:05:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99862aad-c8cc-448f-b499-ff3a704a19d5</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You mean this interface or this method of authenticating?&lt;/p&gt;
&lt;p&gt;If authenticating - Then you again have 2 ways. Email and SMS. For email, it is pretty simple, you generate a random 4-digit code, keep it saved in a variable and send it via Send Email smart service. Then when the user enters that code, you just validate that against the value saved in the variable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For SMS, you have to use an external API like Twillio.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>