How to implement a system of verification of actions?



  • We should warn you that Django is used as a framing. This was not a matter of direct relevance, but decided to clarify it in case.

    The challenge is to implement a system that, in the course of any action, requires the user to confirm the identity. The best example is the confirmation of registration.

    The layer responsible for the generation of tokens/codes must be realized.

    I've got reality in my head:

    1. Six-digit digital codes can be generated and the user may be forced to inject them, followed by validation.
    2. Tokens can be generated and placed in a link where the user ' s identity will be confirmed.

    I'm interested in a safe solution where the user is comfortable. I don't know about that, and I'm asking you to be as specific as possible. Tell me, maybe some tools for that. To be honest, I'm having a lot of trouble even so I can put the stories around, so I hope you're right.



  • I think what you're looking for is called https://habr.com/ru/post/340146/ On Django, I would recommend the use of the library. https://djoser.readthedocs.io/en/latest/getting_started.html which is a middleware(s) between Internet requests and your application and authorization through https://habr.com/ru/post/340146/



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2