Nextjs Microsoft Entra Id
I'm building an enterprise application using Nextjs. I am migrating from using Next-Auth. With Next-Auth I was able to set it up without have a sign in link. As soon as the user navigated to the homepage the user was re-routed to authenticate with Microsoft Entra Id, https://login.microsoftonline.com/{tenantId}/v2.0. Is there a way to do this with Kinde? I followed the Nextjs docs and the Microsoft Entra Id docs but when I run the application I am routed to https://localhost:3000/api/auth/login which displays a screen that says "This page isn't working" local host didn't send any data." When I view my application in Kinde under the Authentication section I have all toggles turned off except for Enterprise connections - Microsoft Entra ID (OAuth 2.0). I only want users to be able to authenticate through Microsoft Entra Id with their company email address. On the Configure modal I have Use common endpoint, Get user groups, and the application toggled on. I feel like there is something I need to do in the Nextjs app to get it setup with Microsoft Entra Id but I don't see anything in the docs.