Getting invalid JWT access_token

Hi, I added the login & logout flow in django, but whenever using is getting log in I’m getting the access_token which is not valid jwt token.

oauth = OAuth()

oauth.register(
“auth0”,
client_id=settings.AUTH0[“CLIENT_ID”],
client_secret=settings.AUTH0[“CLIENT_SECRET”],
api_base_url=settings.AUTH0[“AUDIENCE”],
client_kwargs={
“scope”: “openid profile email offline_access”,
“audience”: settings.AUTH0[“AUDIENCE”],
},
server_metadata_url=f"https://{settings.AUTH0[‘DOMAIN’]}/.well-known/openid-configuration",
)
class Auth0CallbackView(RetrieveAPIView):
def get(self, request, *args, **kwargs):
request_url = request.build_absolute_uri()
token = oauth.auth0.authorize_access_token(request)
return JsonResponse(token)

class Auth0LoginView(APIView):
def get(self, request):
redirect_uri = request.build_absolute_uri(reverse(“auth0_callback”))
res = oauth.auth0.authorize_redirect(request, redirect_uri)
return res

Pasting here the access_toke for refernce.
{
“access_token”: “eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIiwiaXNzIjoiaHR0cHM6Ly9kZXYtMDZhaGQ1ZGVwYWljb3pyNS51cy5hdXRoMC5jb20vIn0…fbkfzzGez4F51FQS.YbvLJHIVjvVG5S4poduRcQyygXC9gLsg-hOGTublaluxtC25spL2Gp0zh1hBwrIemf21eSjxmM8vYiBdtFzmVFq8ICdqvvhiwmO51i1t_LTlFbeqxlHHwAvPIngncf-WnFm_pITOv77hqE8zX4K1YmQEV3xFcpYyRrPBwx-n9fdACRUYBY4UlCsMH3kx5xPID0wUtYaGwTAHAkoAqWMelKgWCtUrq1hEdf1Jzi-d_ssRbXW7mpMzIDbbruDZJQFi6Xngyra3Hjn73uSt_0TOKDMKPdDwDnrcL8qAC-h7q6lpvG-IQmdCXBKt89cw3tedeZFOlM57JHoA8d2E7NzIth2xY6N4gmhDI1Ye6PM5jE-hNs5g70A.f3azpRZaD9WMzi0GSeKgww”} Please help me to get the valid jwt access_token.