Re: How to sent OTPA verification in mail while login with django

2019-02-22 Thread Jani Tiainen
Hi,

I wrote blog about your use case since I recently did something similar and
wanted to do it without too much trouble.

You can read about how I did it at
https://jtiai.github.io/django/2019/02/19/django-otp-simple-way.html

And don't use python standard PRNG, as docs says, it's not secure.

You can check from Django source code one option how to even try to
generate better random numbers.


On Sat, Feb 16, 2019 at 5:08 AM  wrote:

> Thank you,
> actually insted of senting a verification link i need to sent random
> numbers.how can i write the view for it.
>
> On Friday, 15 February 2019 23:56:59 UTC+5:30, Khaleel Ahmed H. M. Shariff
> wrote:
>>
>> Hi Aswani,
>> May Peace, Blessings & Mercy of Almighty God be on you!
>> You can use random number generation for OTP authentication.
>> Hope it helps.
>> Best of Luck.
>> Thanks in advance.
>>
>>
>> God Bless You!
>> God Bless India!!
>> --
>>
>> Love & Regards
>> Khaleel Ahmed H. M.
>>
>> Managing Director, Tanzanite Realty India Private Limited
>>
>> ---
>>
>> Human Life is Precious
>> Koran Surah Ma'idah Chapter 5 Verse 32:
>> If anyone killed a person, not in retaliation of murder, or (and) to
>> spread mischief in the land - it would be as if he killed all mankind, & if
>> anyone saved a life, it would be as if he saved the life of all mankind.
>>
>>
>> On Fri, Feb 15, 2019 at 6:10 PM  wrote:
>>
>>> How to sent OTPA  verification in mail while login with django
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/f92f30a2-8613-4f8d-8e2c-1f8b669965aa%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/094e2487-e5b7-448f-b84b-365a74b699d1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91odhqW6ify-mXugqhz2zNRp-5zFB6YR_7ubghgMJQBB6Yw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to sent OTPA verification in mail while login with django

2019-02-15 Thread aswaniachu1698
Thank you,
actually insted of senting a verification link i need to sent random 
numbers.how can i write the view for it. 

On Friday, 15 February 2019 23:56:59 UTC+5:30, Khaleel Ahmed H. M. Shariff 
wrote:
>
> Hi Aswani,
> May Peace, Blessings & Mercy of Almighty God be on you!
> You can use random number generation for OTP authentication. 
> Hope it helps.
> Best of Luck.
> Thanks in advance. 
>
>
> God Bless You!
> God Bless India!!
> --
>
> Love & Regards
> Khaleel Ahmed H. M.
>
> Managing Director, Tanzanite Realty India Private Limited
>
> ---
>
> Human Life is Precious
> Koran Surah Ma'idah Chapter 5 Verse 32:
> If anyone killed a person, not in retaliation of murder, or (and) to 
> spread mischief in the land - it would be as if he killed all mankind, & if 
> anyone saved a life, it would be as if he saved the life of all mankind.
>
>
> On Fri, Feb 15, 2019 at 6:10 PM > 
> wrote:
>
>> How to sent OTPA  verification in mail while login with django
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/f92f30a2-8613-4f8d-8e2c-1f8b669965aa%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/094e2487-e5b7-448f-b84b-365a74b699d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to sent OTPA verification in mail while login with django

2019-02-15 Thread Khaleel Ahmed H. M. Shariff
Hi Aswani,
May Peace, Blessings & Mercy of Almighty God be on you!
You can use random number generation for OTP authentication.
Hope it helps.
Best of Luck.
Thanks in advance.


God Bless You!
God Bless India!!
--

Love & Regards
Khaleel Ahmed H. M.

Managing Director, Tanzanite Realty India Private Limited

---

Human Life is Precious
Koran Surah Ma'idah Chapter 5 Verse 32:
If anyone killed a person, not in retaliation of murder, or (and) to spread
mischief in the land - it would be as if he killed all mankind, & if anyone
saved a life, it would be as if he saved the life of all mankind.


On Fri, Feb 15, 2019 at 6:10 PM  wrote:

> How to sent OTPA  verification in mail while login with django
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f92f30a2-8613-4f8d-8e2c-1f8b669965aa%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMjBbiA%3D3-dQXQAQN1xJgpdX5wbzUCyPMn9OZQeNcWKip01i9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to sent OTPA verification in mail while login with django

2019-02-15 Thread Kasper Laudrup

Hi,

On 15/02/2019 09.38, aswaniachu1...@gmail.com wrote:

How to sent OTPA  verification in mail while login with django



According to https://acronyms.thefreedictionary.com/OTPA

OTPA can either mean:

Old Towne Preservation Association (Orange, CA)
Office of Tax Policy Analysis (various locations)
Out-of-Turn Plan Amendment
One Time Password Authentication
Optically-Tuned Patch Antenna
Office of Technology and Policy Analysis (US DOC)

I guess what you mean is "One Time Password Authentication"?

You would most likely have a much better chance of receiving help if you 
spend at least a few minutes describing exactly what you it is you want 
to achieve, what you have tried so far and which problems you are facing.


This might be a good start:

http://www.catb.org/esr/faqs/smart-questions.html

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f03ce333-52e2-f4c6-e908-70f65f5d5a61%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.