Skip to content

Instantly share code, notes, and snippets.

@viraj071
viraj071 / [...nextauth].js
Created July 17, 2022 07:38
Using next-auth.js and python-social-auth for multi-provider account linking with Django
import axios from "axios";
import NextAuth from "next-auth"
import { getToken } from "next-auth/jwt";
import Google from "next-auth/providers/google";
import Twitter from "next-auth/providers/twitter";
import { isJwtExpired } from "../../../constants/Utils";
var qs = require('qs');
/**