Aug 13 2024 04:29 PM
I am trying to using Auth,js v5 to login with microsoft from any organisation. I ahve been troublshooting this for so long and I have tried this with supabase auth to test. It worked frist try logging in with an organisation account, but I don't want to use supabase, I want to use Auth.js. I am getting "AADSTS700005: Provided Authorization Code is intended to use against other tenant, thus rejected.". I have multitenant enabled in the azure portal and I cannot find anyone with the same issue as me.