How do I implement automatic login in a Python Jango framework environment?

Asked 1 years ago, Updated 1 years ago, 308 views

Hi, how are you?

On the web page of the Python Jango framework environment, When you click a specific link after logging in as a user named A With the user account information named B stated on the link,

Can I implement the automatic login function as a user named B?(automatic login without login page)

If so, I would like to know how it can be implemented.

python

2022-12-23 14:20

1 Answers

What you're looking for is a concept called Magic Link.

First, study theory. https://www.okta.com/kr/blog/2020/09/magic-links/

Then, you can bring the related package and use it. https://pypi.org/project/django-magic-link/


2022-12-23 17:29

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.