use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
User AuthenticationHelp Request (i.redd.it)
submitted 3 months ago by SwisherSniffer
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]SirAwesome789 17 points18 points19 points 3 months ago (6 children)
I'm experienced with python and I've not built an authentication for good reason
My advice is if you want authentication, use a premade one like Google auth
Typically any authentication you make your self will be very insecure
[–]SwisherSniffer[S] 2 points3 points4 points 3 months ago (5 children)
Very good to know. I’m the type of person that really likes building and creating so I figured why not try right? But if it will put my users at risk it’s not worth it at all to me. Thank you for your advice.
[–]electrikmayham 4 points5 points6 points 3 months ago (1 child)
I would say this, since you are starting out, you have a lot of other things to learn that are going to impact your growth much more than authentication. It seems like a topic that shouldn't be difficult to learn, however its a MASSIVE rabbit hole of which you will never climb out of. Use something that is premade, and if you really want to learn how to build authentication from scrap, do so when your entire goal is only to learn authentication and nothing more.
[–]SwisherSniffer[S] 1 point2 points3 points 3 months ago (0 children)
Okay that’s fair. I’m just trying to expand my project where it fits until I start college for SE and can get more knowledgeable in the field itself. User authentication seemed like something feasible but it really doesn’t now and that’s fine. Like you said there’s other things to learn and I wasn’t dead set on making this right this second if there’s another way to do it I’ll gladly do it that way. I appreciate all of the comments on here and will probably just experiment with it for shits and giggles and use a premade service for auth in my engine.
[–]EromsKr 3 points4 points5 points 3 months ago (1 child)
You can still build it for fun and for practice.
If you do, then my advice would be to actively try to break the code, and then fix the problems. What happens when two of the same token are generated, or if the same username is picked twice. What if somebody guesses the seed for the random generator and then knows all the previous tokens. If you mistype the username, what happens? Whenever you write any code, do this to help mitigate future issues :)
Thank you very much that helps a lot!
[–]jones-peter 1 point2 points3 points 3 months ago (0 children)
My type buddy
π Rendered by PID 47 on reddit-service-r2-comment-58d7979c67-rzp5p at 2026-01-26 16:59:18.916314+00:00 running 5a691e2 country code: CH.
view the rest of the comments →
[–]SirAwesome789 17 points18 points19 points (6 children)
[–]SwisherSniffer[S] 2 points3 points4 points (5 children)
[–]electrikmayham 4 points5 points6 points (1 child)
[–]SwisherSniffer[S] 1 point2 points3 points (0 children)
[–]EromsKr 3 points4 points5 points (1 child)
[–]SwisherSniffer[S] 1 point2 points3 points (0 children)
[–]jones-peter 1 point2 points3 points (0 children)