Provided Authorization Code is intended to use against other tenant, thus rejected. Microsoft Entra ID
I am trying to using Auth.js v5 to login with microsoft from any organisation. I have been troubleshooting this for so long and I have tried this with supabase auth. It worked first try logging in with an organisation account, but I don’t want to use supabase, I want to use next-auth. Below are my auth files: