fayzul_
view.py file in django project from rest_framework.response import Response from rest_framework.decorators import api_view from supertokens_python.syncio import get_users_newest_first from .serializers import GetUserSerializer @api_view(['GET']) def get_users(request): firstguys = get_users_newest_first() serializer = GetUserSerializer(firstguys) return Response(serializer.data)
rp_st
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).